mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-12 18:02:54 -05:00
Fix pointer error in readback control
This commit is contained in:
parent
2007c4b8b9
commit
6f5dde0734
1 changed files with 1 additions and 1 deletions
|
|
@ -1550,7 +1550,7 @@ int slap_read_controls(
|
|||
c.ldctl_oid = oid->bv_val;
|
||||
c.ldctl_iscritical = 0;
|
||||
|
||||
if ( ctrl == NULL ) {
|
||||
if ( *ctrl == NULL ) {
|
||||
/* first try */
|
||||
*ctrl = (LDAPControl *) slap_sl_calloc( 1, sizeof(LDAPControl), NULL );
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue