fix bug found by coverity scan

(cherry picked from commit 63b41cb139)
This commit is contained in:
Axel Kohlmeyer 2016-08-13 01:58:37 -04:00
parent 1976314f40
commit 8492212c4b
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ Balance::~Balance()
}
delete rcb;
for (int i; i < nimbalance; ++i)
for (int i = 0; i < nimbalance; ++i)
delete imbalance[i];
delete [] imbalance;
if (imb_fix) modify->delete_fix(imb_fix->id);