825. [bug] zone.c:ns_query() detached from the wrong zone

reference.  [RT #1263]
This commit is contained in:
Mark Andrews 2001-05-09 05:20:28 +00:00
parent f08f3c6cae
commit 69d44b2f5a
2 changed files with 7 additions and 3 deletions

View file

@ -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]

View file

@ -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);