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:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
|||||||
|
1477. [bug] memory leak using stub zones and TSIG.
|
||||||
|
|
||||||
1476. [placeholder]
|
1476. [placeholder]
|
||||||
|
|
||||||
1475. [port] Probe for old sprintf().
|
1475. [port] Probe for old sprintf().
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -4108,6 +4108,8 @@ ns_query(dns_zone_t *zone, dns_rdataset_t *soardataset, dns_stub_t *stub) {
|
|||||||
if (message != NULL)
|
if (message != NULL)
|
||||||
dns_message_destroy(&message);
|
dns_message_destroy(&message);
|
||||||
unlock:
|
unlock:
|
||||||
|
if (key != NULL)
|
||||||
|
dns_tsigkey_detach(&key);
|
||||||
UNLOCK_ZONE(zone);
|
UNLOCK_ZONE(zone);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user