Skip to content

Commit 55878a0

Browse files
committed
fix memory leak
1 parent 9b59d2b commit 55878a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Idiot.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2373,13 +2373,13 @@ void Idiot::crossOver(int mode)
23732373
#ifdef COIN_DEVELOP
23742374
printf("Total time in crossover %g\n", CoinCpuTime() - startTime);
23752375
#endif
2376-
delete[] saveUpper;
2377-
delete[] saveLower;
23782376
}
23792377
#ifdef FEB_TRY
23802378
model_->setSpecialOptions(saveOptions);
23812379
model_->setPerturbation(savePerturbation);
23822380
#endif
2381+
delete[] saveUpper;
2382+
delete[] saveLower;
23832383
return;
23842384
}
23852385
#endif

0 commit comments

Comments
 (0)