Re: Memory leaks

On Mon, Jul 6, 2009 at 2:38 PM, Alwin Leerling<leerling xtra co nz> wrote:
> I might be a bit of a puritan but I am puzzled about the following. Running
> valgrind over my program I noticed a lot of unfreed block on application
> close. I decided to run a basic GTK program and see what happened.

I do this a lot on Chrome.   First, as described in
be sure to set G_SLICE=always-malloc, else
valgrind might get a bit confused.  Second, there are
dozens of problems in system libraries that you
should probably just ignore.
Try grabbing
and using part 1 of that (the non-chrome-specific part); that
should suppress lots of them.
- Dan

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]