diff --git a/servers/slurpd/config.c b/servers/slurpd/config.c index 6f3df19a0f..3f7a8f8b65 100644 --- a/servers/slurpd/config.c +++ b/servers/slurpd/config.c @@ -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,