Re: memory leak in standard GtkWindow
- From: "Tor Lillqvist" <tml iki fi>
- To: "George Brink" <siberianowl yahoo com>
- Cc: gtk-list gnome org
- Subject: Re: memory leak in standard GtkWindow
- Date: Tue, 16 Sep 2008 21:31:13 +0300
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]