load module uninitialized variable bugfix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sun, 9 Jan 2005 19:58:54 +0000 (19:58 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sun, 9 Jan 2005 19:58:54 +0000 (19:58 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@854 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c

index ea308414064042faf3f113867b59ab396ca5bfa4..6795b02e21429ee56ffdd6801e22d315dee7dc09 100644 (file)
@@ -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<nb;i++){
This page took 0.02482 seconds and 4 git commands to generate.