mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 22:32:07 -04:00
test devent->sigrdataset rather than devent->rdataset before calling query_putrdataset
This commit is contained in:
parent
a922385850
commit
67faaa41c9
1 changed files with 1 additions and 1 deletions
|
|
@ -2372,7 +2372,7 @@ free_devent(ns_client_t *client, isc_event_t **eventp,
|
|||
dns_db_detach(&devent->db);
|
||||
if (devent->rdataset != NULL)
|
||||
query_putrdataset(client, &devent->rdataset);
|
||||
if (devent->rdataset != NULL)
|
||||
if (devent->sigrdataset != NULL)
|
||||
query_putrdataset(client, &devent->sigrdataset);
|
||||
/*
|
||||
* If the two pointers are the same then leave the setting of
|
||||
|
|
|
|||
Loading…
Reference in a new issue