From: compudj Date: Sun, 9 Jan 2005 19:58:54 +0000 (+0000) Subject: load module uninitialized variable bugfix X-Git-Tag: v0.12.20~2635 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bbbd6c25cbe230ada040094bed60d25962ff1545;p=lttv.git load module uninitialized variable bugfix git-svn-id: http://ltt.polymtl.ca/svn@854 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c index ea308414..6795b02e 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -2849,9 +2849,9 @@ on_load_module_activate (GtkMenuItem *menuitem, GPtrArray *name; guint nb,i; gchar *module_name; + nb = lttv_library_module_number(library); LttvModuleInfo *module_info = g_new(LttvModuleInfo,nb); name = g_ptr_array_new(); - nb = lttv_library_module_number(library); /* ask for the module name */ for(i=0;i