Skip to content
Snippets Groups Projects
Commit 6455e14c authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#7893 (#6508) fix a_numvals

parent 2fbd0979
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment