Changeset 279


Ignore:
Timestamp:
Oct 25, 2009 2:28:17 AM (10 years ago)
Author:
bjarni
Message:

Added delete statements to CoinUnloadProblem? to avoid memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.4/CoinMP/src/CoinMP.cpp

    r245 r279  
    943943       
    944944        if (pCoin) {
     945                delete pCoin->msghandler;
     946                delete pCoin->iterhandler;
     947                delete pCoin->nodehandler;
    945948                delete pCoin->clp;
     949                delete pCoin->clp_presolve;
     950                delete pCoin->cbc;
     951
    946952                if (pCoin->ObjectCoeffs) free(pCoin->ObjectCoeffs);
    947953                if (pCoin->RHSValues)    free(pCoin->RHSValues);
Note: See TracChangeset for help on using the changeset viewer.