]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix bug 275.
authorWouter Wijngaards <wouter@NLnetLabs.nl>
Tue, 22 Sep 2009 07:14:34 +0000 (07:14 +0000)
committerWouter Wijngaards <wouter@NLnetLabs.nl>
Tue, 22 Sep 2009 07:14:34 +0000 (07:14 +0000)
Changelog
packet.c

index 917543c8f88bc4f410bb5981ab4fb59cf121d7ae..043313203e34140b1ef4fc2385750a3c43cdf4c6 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -6,6 +6,7 @@
        * Fix signature creation when TTLs are different for RRs in RRset.
        * bug273: fix so EDNS rdata is included in pkt to wire conversion.
        * bug274: fix use of c++ keyword 'class' for RR class in the code.
+       * bug275: fix memory leak of packet edns rdata.
 
 1.6.1   2009-09-14
        * --enable-gost : use the GOST algorithm (experimental).
index da953e8e32e992012113307553134c439afcca89..295062860ad855aa34185b682089c15ce3e77cfd 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -793,6 +793,7 @@ ldns_pkt_free(ldns_pkt *packet)
                ldns_rr_list_deep_free(packet->_authority);
                ldns_rr_list_deep_free(packet->_additional);
                ldns_rr_free(packet->_tsig_rr);
+               ldns_rdf_deep_free(packet->_edns_data);
                LDNS_FREE(packet);
        }
 }