From: Lennart Poettering Date: Tue, 3 May 2005 17:40:47 +0000 (+0000) Subject: fix two memory leaks X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=3bbfb70938c6b08b72a8958e5a6499a9280a7d8f;p=catta fix two memory leaks git-svn-id: file:///home/lennart/svn/public/avahi/trunk@34 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/main.c b/main.c index 26a5462..48d69bd 100644 --- 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; diff --git a/server.c b/server.c index d74d2ab..b02fdad 100644 --- 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);