[CoinUtils-tickets] Re: [COIN-OR Common Utilities] #31: possible mem leak in dupcol_action::presolve

COIN-OR Common Utilities coin-trac at coin-or.org
Sun Apr 15 23:05:25 EDT 2007


#31: possible mem leak in dupcol_action::presolve
-------------------------+--------------------------------------------------
  Reporter:  mgalati     |       Owner:  ladanyi 
      Type:  defect      |      Status:  assigned
  Priority:  major       |   Milestone:          
 Component:  component1  |     Version:          
Resolution:              |    Keywords:  mem leak
-------------------------+--------------------------------------------------
Comment (by ladanyi):

 OK, I think I have firgured out exactly what's going on. The segfault you
 got after applying the first patch happened because postsolve() cleans the
 structure up, so the code I have added to delete the arrays ended up with
 a double free. The memory leak you had before applying the first patch
 happened because postsolve() was not invoked at some point.
 After realizing it today that postsolve() cleans up I have modified the
 patch. Try the new patch (ticket31-2.patch) and let me know if it works.
 (You have to reverse-apply the first patch first.)

 Thanks,
 --Laci

-- 
Ticket URL: <https://projects.coin-or.org:8888/CoinUtils/ticket/31#comment:3>
COIN-OR Common Utilities <http://projects.coin-or.org/CoinUtils>
Common data structures and linear algebra functions for COIN-OR projects



More information about the CoinUtils-tickets mailing list