GNOME Bugzilla – Bug 715016
dmap: Fix memory leak when Avahi is absent
Last modified: 2013-11-27 08:43:21 UTC
.
Created attachment 261234 [details] [review] dmap: Fix memory leak when Avahi is absent When Avahi isn't around, the plugin init will fail, and leak a couple of hash tables and objects. Clean those up before exiting the function. This also checks for error properly.
commit 21e65f906bd3725c4222192e59b6128d8f526c86 Author: Bastien Nocera <hadess@hadess.net> Date: Fri Nov 22 14:53:27 2013 +0100 dmap: Fix memory leak when Avahi is absent When Avahi isn't around, the plugin init will fail, and leak a couple of hash tables and objects. Clean those up before exiting the function. This also checks for error properly. https://bugzilla.gnome.org/show_bug.cgi?id=715016 src/dmap/grl-dmap.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)