mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
2194. [bug] Close journal before calling 'done' in xfrin.c.
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -1,3 +1,4 @@
|
|||||||
|
2194. [bug] Close journal before calling 'done' in xfrin.c.
|
||||||
|
|
||||||
--- 9.5.0a5 released ---
|
--- 9.5.0a5 released ---
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: xfrin.c,v 1.150 2007/02/14 00:27:26 marka Exp $ */
|
/* $Id: xfrin.c,v 1.151 2007/05/24 01:35:22 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -1314,6 +1314,11 @@ xfrin_recv_done(isc_task_t *task, isc_event_t *ev) {
|
|||||||
xfr->state = XFRST_INITIALSOA;
|
xfr->state = XFRST_INITIALSOA;
|
||||||
CHECK(xfrin_send_request(xfr));
|
CHECK(xfrin_send_request(xfr));
|
||||||
} else if (xfr->state == XFRST_END) {
|
} else if (xfr->state == XFRST_END) {
|
||||||
|
/*
|
||||||
|
* Close the journal.
|
||||||
|
*/
|
||||||
|
if (xfr->ixfr.journal != NULL)
|
||||||
|
dns_journal_destroy(&xfr->ixfr.journal);
|
||||||
/*
|
/*
|
||||||
* Inform the caller we succeeded.
|
* Inform the caller we succeeded.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user