mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 03:42:06 -04:00
if the adb had ever returned addresses of a family
other than AF_INET or AF_INET6, there would have been a memory leak
This commit is contained in:
parent
8c56932f9a
commit
8116149a05
1 changed files with 3 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.295 2001/01/11 08:10:47 bwelling Exp $ */
|
||||
/* $Id: zone.c,v 1.296 2001/01/11 20:31:31 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -2428,13 +2428,14 @@ notify_send_toaddr(isc_task_t *task, isc_event_t *event) {
|
|||
break;
|
||||
default:
|
||||
result = ISC_R_NOTIMPLEMENTED;
|
||||
goto cleanup;
|
||||
goto cleanup_key;
|
||||
}
|
||||
result = dns_request_createvia(notify->zone->view->requestmgr, message,
|
||||
&src, ¬ify->dst, 0, key, 15,
|
||||
notify->zone->task,
|
||||
notify_done, notify,
|
||||
¬ify->request);
|
||||
cleanup_key:
|
||||
if (key != NULL)
|
||||
dns_tsigkey_detach(&key);
|
||||
dns_message_destroy(&message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue