memory leaks on pango examples

View: New views
2 Messages — Rating Filter:   Alert me  

memory leaks on pango examples

by august black :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: memory leaks on pango examples

by Behdad Esfahbod-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list