mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +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;
|
return LDAP_NO_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
ctrl->ldctl_value = NULL;
|
BER_BVZERO(&ctrl->ldctl_value);
|
||||||
if ( ber && ( ber_flatten2( ber, &ctrl->ldctl_value, 1 ) == -1 )) {
|
if ( ber && ( ber_flatten2( ber, &ctrl->ldctl_value, 1 ) == -1 )) {
|
||||||
LDAP_FREE( ctrl );
|
LDAP_FREE( ctrl );
|
||||||
return LDAP_NO_MEMORY;
|
return LDAP_NO_MEMORY;
|
||||||
|
Loading…
Reference in New Issue
Block a user