661. fix failed to destroy transfer object after sending response

This commit is contained in:
Andreas Gustafsson
2001-01-08 18:03:45 +00:00
parent 228c679d7a
commit ec644b5e4b

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: xfrout.c,v 1.88 2001/01/06 02:54:42 gson Exp $ */
/* $Id: xfrout.c,v 1.89 2001/01/08 18:03:45 gson Exp $ */
#include <config.h>
@@ -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 */