mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Fix for the previous ITS#4323 fix: for(expr;...) -> for(i=expr;...)
This commit is contained in:
parent
c76eb501ab
commit
b4586b2f84
@ -441,7 +441,7 @@ end_of_loop:;
|
||||
if (gs.refs)
|
||||
ber_bvarray_free(gs.refs);
|
||||
if (gs.ctrls) {
|
||||
for (gs.nctrls-1; i>=0; i--) {
|
||||
for (i = gs.nctrls; --i >= 0; ) {
|
||||
if (!BER_BVISNULL( &gs.ctrls[i]->ldctl_value ))
|
||||
free(gs.ctrls[i]->ldctl_value.bv_val);
|
||||
free(gs.ctrls[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user