Commit 7972ebe6 authored by Howard Chu's avatar Howard Chu
Browse files

Fix freeval check

parent c4ab31dd
......@@ -100,7 +100,7 @@ ldap_back_compare(
ldap_back_dn_massage( &dc, &op->orc_ava->aa_value, &mapped_val );
if (mapped_val.bv_val == NULL || mapped_val.bv_val[0] == '\0') {
mapped_val = op->orc_ava->aa_value;
} else {
} else if (mapped_val.bv_val != op->orc_ava->aa_value) {
freeval = 1;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment