fix module unload oops
[lttv.git] / 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.022934 seconds and 4 git commands to generate.