Commit b4586b2f authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Fix for the previous ITS#4323 fix: for(expr;...) -> for(i=expr;...)

parent c76eb501
......@@ -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]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment