mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fix initialization bug
This commit is contained in:
parent
8cb40e89d9
commit
45f4839578
@ -39,6 +39,7 @@ do_compare(
|
||||
int rc = LDAP_SUCCESS;
|
||||
const char *text = NULL;
|
||||
|
||||
ava.aa_desc = NULL;
|
||||
desc.bv_val = NULL;
|
||||
value.bv_val = NULL;
|
||||
|
||||
@ -93,7 +94,6 @@ do_compare(
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
ava.aa_desc = NULL;
|
||||
rc = slap_bv2ad( &desc, &ava.aa_desc, &text );
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc, NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user