]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2796. [bug] Missing dns_rdataset_disassociate() call in
authorMark Andrews <marka@isc.org>
Tue, 1 Dec 2009 05:28:40 +0000 (05:28 +0000)
committerMark Andrews <marka@isc.org>
Tue, 1 Dec 2009 05:28:40 +0000 (05:28 +0000)
                        dns_nsec3_delnsec3sx(). [RT #20681]

CHANGES
lib/dns/nsec3.c

diff --git a/CHANGES b/CHANGES
index d1c59a78abed5c6cd70a75feb243748382e1387b..356ced04c1f8f6abf7472b04c021e5ed497d0b57 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2796.  [bug]           Missing dns_rdataset_disassociate() call in
+                       dns_nsec3_delnsec3sx(). [RT #20681]
+
 2795.  [cleanup]       Add text to differentiate "update with no effect"
                        log messages. [RT #18889]
 
index 2598a60118bd0e47d5b6260a34f33d333d703e07..3ae4f2daaafa68291b8e00de745c7405133ee061 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsec3.c,v 1.12 2009/11/03 23:48:23 tbox Exp $ */
+/* $Id: nsec3.c,v 1.13 2009/12/01 05:28:40 marka Exp $ */
 
 #include <config.h>
 
@@ -1457,6 +1457,7 @@ dns_nsec3_delnsec3sx(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name,
                 */
                CHECK(dns_nsec3_delnsec3(db, version, name, &nsec3param, diff));
        }
+       dns_rdataset_disassociate(&rdataset);
 
  try_private:
        if (type == 0)