Changeset 1307 for trunk/Clp


Ignore:
Timestamp:
Nov 14, 2008 4:42:28 PM (11 years ago)
Author:
forrest
Message:

fix memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSolve.cpp

    r1277 r1307  
    18371837    }
    18381838    model2->primal(1);
    1839     if (model2!=originalModel2)
     1839    model2->setPerturbation(savePerturbation);
     1840    if (model2!=originalModel2) {
    18401841      originalModel2->moveInfo(*model2);
    1841     model2->setPerturbation(savePerturbation);
     1842      delete model2;
     1843      model2 = originalModel2;
     1844    }
    18421845    time2 = CoinCpuTime();
    18431846    timeCore = time2-timeX;
Note: See TracChangeset for help on using the changeset viewer.