mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
Fix last ldapwhoami commit.
Ensure message is initialized before freeing it.
This commit is contained in:
parent
e74964d51b
commit
11e2ac526c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue