mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 10:09:43 -05:00
Plug read_config memleak
This commit is contained in:
parent
bdf86d44a8
commit
dbdfb8c0a3
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue