From b626499794c9330c16513afe80a53ccc22e75891 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 8 May 2007 14:04:23 +0000 Subject: [PATCH] coverity error, memory leak in file2anlist --- servers/slapd/ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5