fix module unload oops
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 28 Jul 2004 22:10:44 +0000 (22:10 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 28 Jul 2004 22:10:44 +0000 (22:10 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@644 04897980-b3bd-0310-b5e0-8ef037075253

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

index 53fb93c29637fc759e9718eeaeae96529eba7363..e7e24c382c49e257eebebc5d5b8c693fc18939e5 100644 (file)
@@ -2721,9 +2721,9 @@ on_unload_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.027 seconds and 4 git commands to generate.