Skip to content
Snippets Groups Projects
Commit 7972ebe6 authored by Howard Chu's avatar Howard Chu
Browse files

Fix freeval check

parent c4ab31dd
Branches
Tags
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment