From: Brian Wellington Date: Mon, 8 Jan 2001 19:30:37 +0000 (+0000) Subject: pullup: X-Git-Tag: v9.1.0b3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f682d506e4b08e2ccbec65bd12c9a9d4c10c3e17;p=thirdparty%2Fbind9.git pullup: 661. fix failed to destroy transfer object after sending response --- diff --git a/bin/named/xfrout.c b/bin/named/xfrout.c index aac3a07cf93..83f6d78680f 100644 --- a/bin/named/xfrout.c +++ b/bin/named/xfrout.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: xfrout.c,v 1.87.2.1 2001/01/06 03:09:54 bwelling Exp $ */ +/* $Id: xfrout.c,v 1.87.2.2 2001/01/08 19:30:37 bwelling Exp $ */ #include @@ -1453,6 +1453,9 @@ sendstream(xfrout_ctx_t *xfr) { } else { xfrout_log(xfr, ISC_LOG_DEBUG(8), "sending IXFR UDP response"); ns_client_send(xfr->client); + xfr->stream->methods->pause(xfr->stream); + xfrout_ctx_destroy(&xfr); + return; } /* Advance lasttsig to be the last TSIG generated */