]> git.meshlink.io Git - catta/commitdiff
fix two memory leaks
authorLennart Poettering <lennart@poettering.net>
Tue, 3 May 2005 17:40:47 +0000 (17:40 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 3 May 2005 17:40:47 +0000 (17:40 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@34 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

main.c
server.c

diff --git a/main.c b/main.c
index 26a54629e9d3d23de8998b0fd7df32a11235f08f..48d69bd21d520d1c77972a71d6a4b5888687c85b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -67,7 +67,7 @@ int main(int argc, char *argv[]) {
     g_main_loop_unref(loop);
 
 /*     flx_subscription_free(s); */
-/*     flx_entry_group_free(g); */
+    flx_entry_group_free(g); 
     flx_server_free(flx);
     
     return 0;
index d74d2ab51dc41f2b6739e1b85dbdc6067e4d49c3..b02fdad76736cafab5b4eaa41bf41bb827ec5dc5 100644 (file)
--- a/server.c
+++ b/server.c
@@ -272,8 +272,7 @@ static void handle_response(flxServer *s, flxDnsPacket *p, flxInterface *i, cons
         }
 
         if (record->key->type != FLX_DNS_TYPE_ANY) {
-            continue;
-        
+
             g_message("Handling response: %s", txt = flx_record_to_string(record));
             g_free(txt);