mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 02:59:34 -05:00
ITS#6398: plug memory leak of confdir
This commit is contained in:
parent
da747ed63a
commit
bbd238e38b
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue