mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 22:28:34 -04:00
825. [bug] zone.c:ns_query() detached from the wrong zone
reference. [RT #1263]
This commit is contained in:
parent
f08f3c6cae
commit
69d44b2f5a
2 changed files with 7 additions and 3 deletions
5
CHANGES
5
CHANGES
|
|
@ -1,5 +1,8 @@
|
|||
825. [bug] zone.c:ns_query() detached from the wrong zone
|
||||
reference. [RT #1263]
|
||||
|
||||
824. [bug] Correct line numbers reported by dns_master_load().
|
||||
[RT #1263].
|
||||
[RT #1263]
|
||||
|
||||
823. [func] The output of "dig -h" now goes to stdout so that it
|
||||
can easily be piped through "more". [RT #1254]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.321 2001/05/07 23:34:05 gson Exp $ */
|
||||
/* $Id: zone.c,v 1.322 2001/05/09 05:20:28 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -3585,8 +3585,9 @@ ns_query(dns_zone_t *zone, dns_rdataset_t *soardataset, dns_stub_t *stub) {
|
|||
ISC_FALSE);
|
||||
if (stub->db != NULL)
|
||||
dns_db_detach(&stub->db);
|
||||
if (stub->zone != NULL)
|
||||
zone_idetach(&stub->zone);
|
||||
isc_mem_put(stub->mctx, stub, sizeof(*stub));
|
||||
zone_idetach(&zone);
|
||||
}
|
||||
if (message != NULL)
|
||||
dns_message_destroy(&message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue