From 6d677a86a688c9b468d934496323e6ea43fc0a01 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 28 Jul 2004 22:10:44 +0000 Subject: [PATCH] fix module unload oops git-svn-id: http://ltt.polymtl.ca/svn@644 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 53fb93c2..e7e24c38 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -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