Commit 0e0d2891 authored by Mark Andrews's avatar Mark Andrews

1545. [bug] It was possible to leak memory if named was unable to

                        bind to the specified transfer source and TSIG was
                        being used. [RT #10120]
parent 6f3e68a8
1545. [bug] It was possible to leak memory if named was unable to
bind to the specified transfer source and TSIG was
being used. [RT #10120]
1544. [placeholder] rt10147
1543. [placeholder] rt10147
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.402 2003/11/04 05:23:31 marka Exp $ */
/* $Id: zone.c,v 1.403 2004/01/05 04:21:30 marka Exp $ */
#include <config.h>
......@@ -3947,11 +3947,11 @@ soa_query(isc_task_t *task, isc_event_t *event) {
dns_result_totext(result));
goto cleanup;
}
if (key != NULL)
dns_tsigkey_detach(&key);
cancel = ISC_FALSE;
cleanup:
if (key != NULL)
dns_tsigkey_detach(&key);
if (result != ISC_R_SUCCESS)
DNS_ZONE_CLRFLAG(zone, DNS_ZONEFLG_REFRESH);
if (message != NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment