From bc1268ea834cb85aeb2e9468b20097bbd7ba7780 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 23 Jan 2002 02:08:57 +0000 Subject: [PATCH] pullup: leave isc_lex_destroy() to close any open streams. --- lib/dns/master.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/master.c b/lib/dns/master.c index 779147398e..8e6da5ad3a 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: master.c,v 1.122.2.2 2001/09/11 23:32:55 gson Exp $ */ +/* $Id: master.c,v 1.122.2.3 2002/01/23 02:08:57 gson Exp $ */ #include @@ -370,7 +370,7 @@ loadctx_destroy(dns_loadctx_t *lctx) { incctx_destroy(lctx->mctx, lctx->inc); if (lctx->lex != NULL) { - isc_lex_close(lctx->lex); + /* isc_lex_destroy() will close all open streams */ isc_lex_destroy(&lctx->lex); } if (lctx->task != NULL)