I do this a lot on Chrome. First, as described in
> 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.
http://library.gnome.org/devel/glib/stable/glib-running.html
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 http://src.chromium.org/viewvc/chrome/trunk/src/tools/valgrind/suppressions.txt
and using part 1 of that (the non-chrome-specific part); that
should suppress lots of them.