Commit 0025d7fa authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix last commit.

parent e6699ce0
......@@ -434,7 +434,7 @@ ldap_create_control(
return LDAP_NO_MEMORY;
}
ctrl->ldctl_value = NULL;
BER_BVZERO(&ctrl->ldctl_value);
if ( ber && ( ber_flatten2( ber, &ctrl->ldctl_value, 1 ) == -1 )) {
LDAP_FREE( ctrl );
return LDAP_NO_MEMORY;
......
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