This commit is contained in:
Howard Chu 2006-03-31 13:09:42 +00:00
parent c41a151d1e
commit 3f09968e5f
2 changed files with 4 additions and 1 deletions

View File

@ -1070,6 +1070,9 @@ static int dosearch(
}
if ( dont ) {
if ( filtpatt != NULL ) {
free( filter );
}
return LDAP_SUCCESS;
}

View File

@ -116,7 +116,7 @@ main( int argc, char *argv[] )
char *matcheddn = NULL, *text = NULL, **refs = NULL;
char *retoid = NULL;
struct berval *retdata = NULL;
int id, code;
int id, code = 0;
LDAPMessage *res;
tool_init( TOOL_WHOAMI );