From: Wouter Wijngaards Date: Mon, 9 Aug 2010 14:26:16 +0000 (+0000) Subject: Justin item 8, but cannot find the part he mentions but this one is a memory X-Git-Tag: release-1.6.7~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c27ca66eae4e84b1a49f391d391b9da0b0a415ef;p=thirdparty%2Fldns.git Justin item 8, but cannot find the part he mentions but this one is a memory leak of that variable. --- diff --git a/net.c b/net.c index 6aeb3c75..91764d84 100644 --- a/net.c +++ b/net.c @@ -784,6 +784,7 @@ ldns_axfr_start(ldns_resolver *resolver, ldns_rdf *domain, ldns_rr_class class) status = ldns_pkt2buffer_wire(query_wire, query); if (status != LDNS_STATUS_OK) { ldns_pkt_free(query); + ldns_buffer_free(query_wire); LDNS_FREE(ns); /* RoRi: to prevent problems on subsequent calls to ldns_axfr_start