Changeset 1406


Ignore:
Timestamp:
Dec 17, 2009 9:26:46 AM (9 years ago)
Author:
forrest
Message:

fix memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/sandbox/Cbc/src/CbcNode.cpp

    r1393 r1406  
    31393139                        choice.possibleBranch->fix(solver, saveLower, saveUpper, 1);
    31403140                        if (!choiceObject) {
     3141                            delete choice.possibleBranch;
    31413142                            choice.possibleBranch = NULL;
    31423143                        } else {
     
    31803181                        choice.possibleBranch->fix(solver, saveLower, saveUpper, -1);
    31813182                        if (!choiceObject) {
     3183                            delete choice.possibleBranch;
    31823184                            choice.possibleBranch = NULL;
    31833185                        } else {
Note: See TracChangeset for help on using the changeset viewer.