Changeset 1483


Ignore:
Timestamp:
Dec 30, 2009 12:22:51 PM (10 years ago)
Author:
forrest
Message:

memory leak

Location:
stable/1.11/Clp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/1.11/Clp/src/ClpNode.cpp

    r1458 r1483  
    851851  }
    852852  delete [] nodeInfo_;
     853#ifdef CLP_INVESTIGATE
     854  // Should be NULL - find out why not?
     855  assert (!saveCosts_);
     856#endif
     857    delete [] saveCosts_;
    853858}
    854859// Return maximum number of nodes
  • stable/1.11/Clp/src/ClpSimplexDual.cpp

    r1458 r1483  
    62186218{
    62196219  if (solveLp) {
     6220    // make sure won't create fake objective
     6221    int saveOptions = specialOptions_;
     6222    specialOptions_ |= 16384;
    62206223    // solve
    62216224    dual(0,7);
     
    62286231      }
    62296232    }
     6233    specialOptions_ = saveOptions;
    62306234    if (problemStatus_==1)
    62316235      return NULL; // say infeasible
Note: See TracChangeset for help on using the changeset viewer.