Skip to content

Commit 470df2d

Browse files
committed
added fclose
1 parent b173b26 commit 470df2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

highs/mip/HighsMipSolver.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,9 @@ void HighsMipSolver::cleanupSolve() {
852852
if (!timeless_log) analysis_.reportMipTimer();
853853

854854
assert(modelstatus_ != HighsModelStatus::kNotset);
855+
856+
if (improving_solution_file_ != nullptr)
857+
fclose(improving_solution_file_);
855858
}
856859

857860
// Only called in Highs::runPresolve

0 commit comments

Comments
 (0)