-fix leak
authorChristian Grothoff <christian@grothoff.org>
Wed, 25 Jan 2012 10:33:14 +0000 (10:33 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 25 Jan 2012 10:33:14 +0000 (10:33 +0000)
src/pt/gnunet-daemon-pt.c

index 17ed6712d9bb92c0fad86eda26c8549b7fd5e5c2..2ad8468efa99fa9cbae593c85df7cf2d67d8c282 100644 (file)
@@ -514,6 +514,7 @@ dns_post_request_handler (void *cls,
   if (! work)
   {
     GNUNET_DNS_request_forward (rh);
+    GNUNET_DNSPARSER_free_packet (dns);
     return;
   }
   rc = GNUNET_malloc (sizeof (struct ReplyContext));