mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-14 19:04:21 -05:00
Fix memory losses, ITS#379
This commit is contained in:
parent
cbc5c8494e
commit
ed05ed8025
2 changed files with 2 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ int ldap_int_get_controls(
|
|||
return LDAP_NO_MEMORY;
|
||||
}
|
||||
|
||||
ctrls[nctrls] = NULL;
|
||||
*ctrls[nctrls] = NULL;
|
||||
|
||||
for( tag = ber_first_element( ber, &len, &opaque );
|
||||
tag != LBER_ERROR;
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ int get_ctrls(
|
|||
}
|
||||
#endif
|
||||
|
||||
ctrls[nctrls] = NULL;
|
||||
*ctrls[nctrls] = NULL;
|
||||
|
||||
for( tag = ber_first_element( ber, &len, &opaque );
|
||||
tag != LBER_ERROR;
|
||||
|
|
|
|||
Loading…
Reference in a new issue