|
From: Bob R. <bo...@br...> - 2005-08-14 01:05:17
|
On Sat, Aug 13, 2005 at 11:34:03AM -0700, Robert Walsh wrote: > > When I run memcheck, I get the below output. I think they are malloc > > bugs because I can not reproduce them. Should this get reported to > > someone? or is should I assumme everything is OK? > > Why do you think these are malloc bugs? These are locations in your > code where you called malloc to allocate memory but subsequently never > freed it. These are genuine memory leaks. What do you mean "can not > reproduce them"? Yeah, sorry for saying "can not reproduce them". What I mean to say is, I can not figure out how to track down the leak. Usually, I can do this very easily. For some reason, I can't do it in this case. Valgrind usually reports when the memory was leaked, right? Because the left hand side of the assignment is NULL when the malloc is done and assigns the value. How could this be a memory leak? Thanks, Bob Rossi |