mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix last commit.
This commit is contained in:
parent
e6699ce023
commit
0025d7fa1f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user