memory leaks on pango examples

2009-08-06 Thread august

hi,

I'm trying to debug some of my code (which is based on the example
code provided by pango), and came across a bunch of memory leaks.
I'm still new to valgrind, so can anyone explain to me why there are
leaks with:

valgrind --leak-check=full ./cairosimple blah.png

where ./cairosimple is the example program provided in the pango
source dir.



thanks -august.
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


Re: memory leaks on pango examples

2009-08-06 Thread Behdad Esfahbod

On 08/06/2009 08:04 AM, august wrote:

hi,

I'm trying to debug some of my code (which is based on the example
code provided by pango), and came across a bunch of memory leaks.
I'm still new to valgrind, so can anyone explain to me why there are
leaks with:

valgrind --leak-check=full ./cairosimple blah.png

where ./cairosimple is the example program provided in the pango
source dir.


Both glib (gslice) and fonconfig use memory in ways that confuse valgrind. 
That's why you see those reports.


behdad


thanks -august.

___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list