Fix bogus free

This commit is contained in:
Howard Chu 2003-12-06 23:54:22 +00:00
parent 44fc00b4c0
commit 9d3c808428

View File

@ -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;