mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fix bogus free
This commit is contained in:
parent
44fc00b4c0
commit
9d3c808428
@ -1434,7 +1434,8 @@ proxy_cache_search(
|
||||
}
|
||||
if ( oc_attr_absent ) {
|
||||
query.attrs[ count ].an_desc = slap_schema.si_ad_objectClass;
|
||||
query.attrs[ count ].an_name = query.attrs[count].an_desc->ad_cname;
|
||||
ber_dupbv( &query.attrs[count].an_name,
|
||||
&slap_schema.si_ad_objectClass->ad_cname );
|
||||
count++;
|
||||
}
|
||||
query.attrs[ count ].an_name.bv_val = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user