mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
1592. [bug] configure_view() could leak a dispatch.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
|||||||
|
1592. [bug] configure_view() could leak a dispatch.
|
||||||
|
|
||||||
1591. [bug] libbind: updated to BIND 8.4.5.
|
1591. [bug] libbind: updated to BIND 8.4.5.
|
||||||
|
|
||||||
1590. [port] netbsd: update thread support.
|
1590. [port] netbsd: update thread support.
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: server.c,v 1.417 2004/03/10 02:19:52 marka Exp $ */
|
/* $Id: server.c,v 1.418 2004/03/14 22:53:39 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -843,10 +843,6 @@ configure_view(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
|
|||||||
ns_g_socketmgr, ns_g_timermgr,
|
ns_g_socketmgr, ns_g_timermgr,
|
||||||
check, ns_g_dispatchmgr,
|
check, ns_g_dispatchmgr,
|
||||||
dispatch4, dispatch6));
|
dispatch4, dispatch6));
|
||||||
if (dispatch4 != NULL)
|
|
||||||
dns_dispatch_detach(&dispatch4);
|
|
||||||
if (dispatch6 != NULL)
|
|
||||||
dns_dispatch_detach(&dispatch6);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the ADB cache size to 1/8th of the max-cache-size.
|
* Set the ADB cache size to 1/8th of the max-cache-size.
|
||||||
@@ -1201,6 +1197,10 @@ configure_view(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
|
|||||||
result = ISC_R_SUCCESS;
|
result = ISC_R_SUCCESS;
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
if (dispatch4 != NULL)
|
||||||
|
dns_dispatch_detach(&dispatch4);
|
||||||
|
if (dispatch6 != NULL)
|
||||||
|
dns_dispatch_detach(&dispatch6);
|
||||||
if (order != NULL)
|
if (order != NULL)
|
||||||
dns_order_detach(&order);
|
dns_order_detach(&order);
|
||||||
if (cmctx != NULL)
|
if (cmctx != NULL)
|
||||||
|
Reference in New Issue
Block a user