[libdmapsharing] Free service struct itself in free_service() Signed-off-by: W. Michael Petullo <mike flyn org>



commit 4dbff70f2f79648e36bf4072e5dde7273e192a08
Author: W. Michael Petullo <mike flyn org>
Date:   Sat Apr 2 09:50:32 2011 -0500

    Free service struct itself in free_service()
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/dmap-mdns-publisher-avahi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libdmapsharing/dmap-mdns-publisher-avahi.c b/libdmapsharing/dmap-mdns-publisher-avahi.c
index e03fe8d..ced84ce 100644
--- a/libdmapsharing/dmap-mdns-publisher-avahi.c
+++ b/libdmapsharing/dmap-mdns-publisher-avahi.c
@@ -303,6 +303,7 @@ free_service (struct DMAPMdnsPublisherService *service, gpointer user_data)
 	g_free (service->name);
 	g_free (service->type_of_service);
 	g_strfreev (service->txt_records);
+	g_free (service);
 }
 
 gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]