From: Howard Chu Date: Tue, 8 May 2007 14:04:23 +0000 (+0000) Subject: coverity error, memory leak in file2anlist X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~520 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b626499794c9330c16513afe80a53ccc22e75891;p=openldap coverity error, memory leak in file2anlist --- diff --git a/servers/slapd/ad.c b/servers/slapd/ad.c index 2366d2b890..4dcce9372e 100644 --- a/servers/slapd/ad.c +++ b/servers/slapd/ad.c @@ -1133,7 +1133,7 @@ file2anlist( AttributeName *an, const char *fname, const char *brkstr ) } an = str2anlist( an, line, brkstr ); if ( an == NULL ) - return NULL; + break; lcur = line; } ch_free( line );