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

ITS#7893 (#6508) fix a_numvals

parent b9abbdf6
Branches
Tags
No related merge requests found
......@@ -600,6 +600,7 @@ memberof_op_add( Operation *op, SlapReply *rs )
ber_memfree( a->a_nvals[ i ].bv_val );
BER_BVZERO( &a->a_nvals[ i ] );
}
a->a_numvals--;
if ( j - i == 1 ) {
break;
}
......@@ -611,7 +612,6 @@ memberof_op_add( Operation *op, SlapReply *rs )
sizeof( struct berval ) * ( j - i ) );
}
i--;
a->a_numvals--;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment