1635. [bug] Memory leak on error in query_addds().

This commit is contained in:
Mark Andrews
2004-05-14 00:59:54 +00:00
parent d5c2ed9bf4
commit 76cdd6db55
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
1635. [bug] Memory leak on error in query_addds().
1633. [bug] named should return NOTIMP to update requests to a
slaves without a allow-update-forwarding acl specified.
[RT #11331]
+2 -2
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.198.2.13.4.27 2004/04/15 02:10:38 marka Exp $ */
/* $Id: query.c,v 1.198.2.13.4.28 2004/05/14 00:59:54 marka Exp $ */
#include <config.h>
@@ -1785,7 +1785,7 @@ query_addds(ns_client_t *client, dns_db_t *db, dns_dbnode_t *node) {
rdataset = query_newrdataset(client);
sigrdataset = query_newrdataset(client);
if (rdataset == NULL || sigrdataset == NULL)
return;
goto cleanup;
/*
* Look for the DS record, which may or may not be present.