From: Christian Grothoff Date: Wed, 25 Jan 2012 10:33:14 +0000 (+0000) Subject: -fix leak X-Git-Tag: initial-import-from-subversion-38251~15120 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=444ece63d8ef08589000caa02c661e5b86841ea0;p=oweals%2Fgnunet.git -fix leak --- diff --git a/src/pt/gnunet-daemon-pt.c b/src/pt/gnunet-daemon-pt.c index 17ed6712d..2ad8468ef 100644 --- a/src/pt/gnunet-daemon-pt.c +++ b/src/pt/gnunet-daemon-pt.c @@ -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));