Skip to content

Commit

Permalink
fix small memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Oct 6, 2023
1 parent 3b049ec commit 8089227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CbcModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16570,7 +16570,7 @@ int CbcModel::chooseBranch(CbcNode *&newNode, int numberPassesLeft,
assert(lastws->fullBasis());
newNode2->createInfo(this, oldNode, lastws, lowerBefore, upperBefore,
numberOldActiveCuts_, numberNewCuts_);
newNode2->nodeInfo()->setNumberBranchesLeft(1);
newNode2->nodeInfo()->initializeInfo(1);
// newNode2->nodeInfo()->unsetParentBasedData();
if (i < nProbMinus1) {
// OsiBranchingObject * object =
Expand Down

0 comments on commit 8089227

Please sign in to comment.