Re: memory leak detection patch (usable for

2005-09-23 Thread Oliver Stieber
--- Detlef Riekenberg <[EMAIL PROTECTED]> wrote: > Hi Mike > > > This patch is written for MSI, but could be adapted to other code. It > > keeps a linked list of allocated memory and removes free'd memory from > > the list. > > Nice Hint. > I will reuse that, while working on the Printing su

Re: memory leak detection patch (usable for

2005-09-23 Thread Detlef Riekenberg
Hi Mike > This patch is written for MSI, but could be adapted to other code. It > keeps a linked list of allocated memory and removes free'd memory from > the list. Nice Hint. I will reuse that, while working on the Printing subsystem. > so hopefully somebody else will find it useful too. sh

Re: memory leak detection patch

2005-09-22 Thread Mike McCormack
Andreas Mohr wrote: I think that we should concentrate on making valgrind the default leak detection method in Wine, however. Reasons: - it catches many, many leaks *without any reprogramming effort* - it catches many, many other problems - it has other tools which are very useful, too (cache

Re: memory leak detection patch

2005-09-22 Thread Andreas Mohr
Hi, On Thu, Sep 22, 2005 at 12:08:20AM +0900, Mike McCormack wrote: > > Hi, > > This patch is written for MSI, but could be adapted to other code. It > keeps a linked list of allocated memory and removes free'd memory from > the list. > > It requires that you change all the HeapAlloc's or ma

memory leak detection patch

2005-09-21 Thread Mike McCormack
Hi, This patch is written for MSI, but could be adapted to other code. It keeps a linked list of allocated memory and removes free'd memory from the list. It requires that you change all the HeapAlloc's or mallocs in a dll to msi_alloc (for example), but can detect unfree'd memory and inva