1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-16 06:25:24 +00:00

g_mem_set_vtable must be called before using any other GLib functions.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4734 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-03-07 15:11:24 +00:00 committed by exg
parent a0f16de883
commit f93befe282

View File

@ -297,6 +297,10 @@ int main(int argc, char **argv)
{ NULL }
};
#ifdef USE_GC
g_mem_set_vtable(&gc_mem_table);
#endif
core_register_options();
fe_common_core_register_options();
args_register(options);
@ -308,10 +312,6 @@ int main(int argc, char **argv)
return 0;
}
#ifdef USE_GC
g_mem_set_vtable(&gc_mem_table);
#endif
srand(time(NULL));
dummy = FALSE;