mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#6398: plug memory leak of confdir
This commit is contained in:
parent
da747ed63a
commit
bbd238e38b
@ -763,6 +763,11 @@ startup:;
|
||||
conffile = NULL;
|
||||
}
|
||||
|
||||
if ( confdir != NULL ) {
|
||||
ch_free( confdir );
|
||||
confdir = NULL;
|
||||
}
|
||||
|
||||
if ( ldiffile != NULL ) {
|
||||
ch_free( ldiffile );
|
||||
ldiffile = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user