From: Howard Chu Date: Fri, 13 Jun 2008 23:06:50 +0000 (+0000) Subject: ITS#5557 plug leak from skipping over rset value X-Git-Tag: LOCKER_IDS~110 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd5e10250a879d10c1d57fd0fe25ec43124ee180;p=openldap ITS#5557 plug leak from skipping over rset value --- diff --git a/servers/slapd/sets.c b/servers/slapd/sets.c index d7c56fa9ed..d8de70044d 100644 --- a/servers/slapd/sets.c +++ b/servers/slapd/sets.c @@ -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;