2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

1477. [bug] memory leak using stub zones and TSIG.

This commit is contained in:
Mark Andrews
2003-07-01 03:51:30 +00:00
parent edfcbabd60
commit 9c1eb2279d
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
1477. [bug] memory leak using stub zones and TSIG.
1476. [placeholder]
1475. [port] Probe for old sprintf().

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.391 2003/06/06 06:09:39 marka Exp $ */
/* $Id: zone.c,v 1.392 2003/07/01 03:51:30 marka Exp $ */
#include <config.h>
@@ -4108,6 +4108,8 @@ ns_query(dns_zone_t *zone, dns_rdataset_t *soardataset, dns_stub_t *stub) {
if (message != NULL)
dns_message_destroy(&message);
unlock:
if (key != NULL)
dns_tsigkey_detach(&key);
UNLOCK_ZONE(zone);
return;
}