mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
cleanup
This commit is contained in:
parent
c41a151d1e
commit
3f09968e5f
@ -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 New Issue
Block a user