Ignore:
Timestamp:
Sep 13, 2014 8:53:47 PM (5 years ago)
Author:
unxusr
Message:

fix several memory leaks in fpump, some reported by coverity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcHeuristicFPump.cpp

    r1955 r2072  
    411411    model_->solver()->resolve();
    412412    if (!model_->solver()->isProvenOptimal()) {
    413         // presumably max time or some such
     413
     414        delete[] integerVariable;
     415        delete[] newSolution;
     416        if (closestSolution)
     417            delete[] closestSolution;
     418       
    414419        return 0;
    415420    }
Note: See TracChangeset for help on using the changeset viewer.