ITS#6398: plug memory leak of confdir

This commit is contained in:
Hallvard Furuseth 2009-11-23 21:52:11 +00:00
parent da747ed63a
commit bbd238e38b

View File

@ -763,6 +763,11 @@ startup:;
conffile = NULL;
}
if ( confdir != NULL ) {
ch_free( confdir );
confdir = NULL;
}
if ( ldiffile != NULL ) {
ch_free( ldiffile );
ldiffile = NULL;