mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Fixes memory leaks in do_compare()
This commit is contained in:
parent
156c9b3177
commit
d717a7fb9f
1 changed files with 2 additions and 2 deletions
|
|
@ -135,13 +135,13 @@ do_compare(
|
|||
rc = slap_bv2ad( &desc, &ava.aa_desc, &text );
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc, NULL, text, NULL, NULL );
|
||||
return rc;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
rc = value_normalize( ava.aa_desc, SLAP_MR_EQUALITY, &value, &nvalue, &text );
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc, NULL, text, NULL, NULL );
|
||||
return rc;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
ava.aa_value = nvalue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue