Commit e078f002 authored by Mark Andrews's avatar Mark Andrews
Browse files

2194. [bug] Close journal before calling 'done' in xfrin.c.

parent d1199d9c
2194. [bug] Close journal before calling 'done' in xfrin.c.
--- 9.5.0a5 released ---
......
......@@ -15,7 +15,7 @@
* 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 */
......@@ -1314,6 +1314,11 @@ xfrin_recv_done(isc_task_t *task, isc_event_t *ev) {
xfr->state = XFRST_INITIALSOA;
CHECK(xfrin_send_request(xfr));
} 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.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment