mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +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 );
|
cp->set_op->o_tmpfree( rset[ i ].bv_val, cp->set_op->o_tmpmemctx );
|
||||||
rset[ i ] = rset[ --rlast ];
|
rset[ i ] = rset[ --rlast ];
|
||||||
BER_BVZERO( &rset[ rlast ] );
|
BER_BVZERO( &rset[ rlast ] );
|
||||||
|
i--;
|
||||||
}
|
}
|
||||||
exists = 1;
|
exists = 1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user