diff --git a/CHANGES b/CHANGES index 635a039c24..90e59161b4 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ + + 415. [bug] The logging code leaked file descriptors. + 414. [bug] Server did not shut down until all incoming zone transfers were finished. diff --git a/lib/isc/log.c b/lib/isc/log.c index 7cddc164d6..e92636fc17 100644 --- a/lib/isc/log.c +++ b/lib/isc/log.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: log.c,v 1.45 2000/08/26 01:23:11 bwelling Exp $ */ +/* $Id: log.c,v 1.46 2000/08/31 20:58:14 bwelling Exp $ */ /* Principal Authors: DCL */ @@ -1068,6 +1068,7 @@ greatest_version(isc_logchannel_t *channel) { greatest = version; } } + isc_dir_close(&dir); if (basename != FILE_NAME(channel)) *--basename = '/';