mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#5557 plug leak from skipping over rset value
This commit is contained in:
parent
06379f9cf9
commit
cd5e10250a
@ -200,6 +200,7 @@ slap_set_join(
|
||||
cp->set_op->o_tmpfree( rset[ i ].bv_val, cp->set_op->o_tmpmemctx );
|
||||
rset[ i ] = rset[ --rlast ];
|
||||
BER_BVZERO( &rset[ rlast ] );
|
||||
i--;
|
||||
}
|
||||
exists = 1;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user