mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Plug read_config memleak
This commit is contained in:
parent
bdf86d44a8
commit
dbdfb8c0a3
@ -64,8 +64,10 @@ slurpd_read_config(
|
||||
FILE *fp;
|
||||
char *line;
|
||||
|
||||
if ( cargv == NULL ) {
|
||||
cargv = ch_calloc( ARGS_STEP + 1, sizeof(*cargv) );
|
||||
cargv_size = ARGS_STEP + 1;
|
||||
}
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG ( CONFIG, ARGS,
|
||||
|
Loading…
Reference in New Issue
Block a user