Commit 11e2ac52 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Fix last ldapwhoami commit.

Ensure message is initialized before freeing it.
parent e74964d5
......@@ -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 );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment