Subj : Re: Valgrind reported memory leak To : comp.programming.threads From : Maciej Sobczak Date : Thu Jun 09 2005 05:25 pm David Butenhof wrote: > Detecting and fixing dynamic memory leaks is a great idea. But while I > recognize that its difficult for a tool to distinguish static from > dynamic, that's its job Moreover, it is a business oportunity and an arena for competition between leak detectors. Let them fix themselves for the their own benefit. The issue is not only about pthread functions. There are other run-time (system!) functions that tend to pop up in leak reports, so indeed it would be too much effor to "fix" the whole world just to make the diagnostic tools happy. It is certainly cheaper to fix the tools. -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/ .