mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 17:17:22 -04:00
don't free the ipv4 dispatcher if there isn't one.
This commit is contained in:
parent
7ba05518c7
commit
afb5dc3afc
1 changed files with 3 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nsupdate.c,v 1.64 2000/11/22 21:25:38 bwelling Exp $ */
|
||||
/* $Id: nsupdate.c,v 1.65 2000/11/22 21:59:50 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1522,7 +1522,8 @@ cleanup(void) {
|
|||
dns_requestmgr_detach(&requestmgr);
|
||||
|
||||
ddebug("Freeing the dispatchers");
|
||||
dns_dispatch_detach(&dispatchv4);
|
||||
if (have_ipv4)
|
||||
dns_dispatch_detach(&dispatchv4);
|
||||
if (have_ipv6)
|
||||
dns_dispatch_detach(&dispatchv6);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue