mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-20 13:53:21 -05:00
ITS#7893 (#6508) fix a_numvals
This commit is contained in:
parent
b9abbdf623
commit
1f168a0b8f
1 changed files with 1 additions and 1 deletions
|
|
@ -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--;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue