On Wed, 21 Nov 2007 20:15:25 +0100 c f wrote:

[...]
> I have used mtrace to check for memory leaks. In this simple
> application there are more than 5000 memory allocation which is not
> freed.

See:
http://www.gtk.org/faq/#AEN703

> I have checked the GTK documentation and it states that gtk_exit free
> all resources allocated for GTK+. gtk_exit is depricated and using
> exit is recommended.

It's deprecated for a reason -- it doesn't free all memory allocated by
gtk (or glib, or gobject, or gdk).  It's not possible to do so.

        -brian
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to