]> git.sur5r.net Git - openldap/commitdiff
coverity error, memory leak in file2anlist
authorHoward Chu <hyc@openldap.org>
Tue, 8 May 2007 14:04:23 +0000 (14:04 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 8 May 2007 14:04:23 +0000 (14:04 +0000)
servers/slapd/ad.c

index 2366d2b890a3981a7dd412169c008cb7b3709c57..4dcce9372e0ec8b10ddb79c7c3e2ce6cf242e408 100644 (file)
@@ -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 );