Re: memory leak in standard GtkWindow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>        gtk_init(&argc, &argv);
>
>        g_mem_set_vtable(glib_mem_profiler_table);

Check the documentation for g_mem_set_vtable(). As it is in your
message, the programs crashes, also on Linux by the way.

Once you move the call to g_mem_set_vtable() first in main(), the
program completes without a crash.

--tml
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux