On 02/09/2011 02:29 PM, John Emmas wrote:
> But my original example looked like this:-
> 
> 
> Gtk::Main *app = new Gtk::Main (&argc, &argv);
> 
> delete app;

Change it to this and then look at memory use:

for (;;) {
        Gtk::Main *app = new Gtk::Main (&argc, &argv);
        delete app;
}

If memory usage grows then GTK leaks.  If it doesn't, there is no leak.
_______________________________________________
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