]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Wed, 23 Jan 2002 02:08:57 +0000 (02:08 +0000)
committerAndreas Gustafsson <source@isc.org>
Wed, 23 Jan 2002 02:08:57 +0000 (02:08 +0000)
leave isc_lex_destroy() to close any open streams.

lib/dns/master.c

index 779147398ed445c3d1b54c2df7b0e5a766e7730c..8e6da5ad3a8ef893c3ddbb4e6ffeabf87ed22adf 100644 (file)
@@ -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 <config.h>
 
@@ -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)