Skip to content
Snippets Groups Projects
Commit ccc2797a authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

LDAPworldP21: SLAPD Memory leak/error in filterentry.c

parent 29062d06
Branches
Tags
No related merge requests found
......@@ -223,11 +223,12 @@ test_approx_filter(
w2 = next_word( w2 ) ) {
c2 = phonetic( w2 );
if ( strcmp( c1, c2 ) == 0 ) {
free( c2 );
break;
}
free( c2 );
}
free( c1 );
free( c2 );
/*
* if we stopped because we ran out of words
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment