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

SLAP_NVALUES fix

parent c532587f
Branches
Tags
No related merge requests found
......@@ -210,7 +210,7 @@ int bdb_entry_return(
/* nvals are not contiguous with the rest. oh well. */
Attribute *a;
for (a = e->e_attrs; a; a=a->a_next) {
if (a->a_nvals) {
if (a->a_nvals != a->a_vals) {
ber_bvarray_free( a->a_nvals );
a->a_nvals = NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment