mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-12 15:10:31 +08:00
Fix last ldapwhoami commit.
Ensure message is initialized before freeing it.
This commit is contained in:
parent
e74964d51b
commit
11e2ac526c
@ -113,7 +113,7 @@ main( int argc, char *argv[] )
|
||||
char *matcheddn = NULL, *text = NULL, **refs = NULL;
|
||||
struct berval *authzid = NULL;
|
||||
int id, code = 0;
|
||||
LDAPMessage *res;
|
||||
LDAPMessage *res = NULL;
|
||||
LDAPControl **ctrls = NULL;
|
||||
|
||||
tool_init( TOOL_WHOAMI );
|
||||
|
Loading…
x
Reference in New Issue
Block a user