Re: Memory leaks
- From: Dan Kegel <dank kegel com>
- To: rd transpread com
- Cc: gtk-list gnome org
- Subject: Re: Memory leaks
- Date: Mon, 13 Jul 2009 06:45:55 -0700
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
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.
- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]