mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 04:29:35 -05:00
cleanup
This commit is contained in:
parent
c41a151d1e
commit
3f09968e5f
2 changed files with 4 additions and 1 deletions
|
|
@ -1070,6 +1070,9 @@ static int dosearch(
|
|||
}
|
||||
|
||||
if ( dont ) {
|
||||
if ( filtpatt != NULL ) {
|
||||
free( filter );
|
||||
}
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue