mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
don't leak in case of attribute not found
This commit is contained in:
parent
2e36d49a73
commit
eae2233d0c
1 changed files with 2 additions and 2 deletions
|
|
@ -226,12 +226,12 @@ slapi_entry_attr_merge(
|
|||
BerVarray bv;
|
||||
int rc;
|
||||
|
||||
rc = bvptr2obj( vals, &bv );
|
||||
rc = slap_str2ad( type, &ad, &text );
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
rc = slap_str2ad( type, &ad, &text );
|
||||
rc = bvptr2obj( vals, &bv );
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue