X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2Fmodule.c;h=7d47e9d1eee968e0c72aed62a4d3a193bea42438;hb=bca3b81f050faa6295485fc7dbc3fef45f706d14;hp=5b73abae25dd902b52374d88075f977e92f81979;hpb=784177915a639df2d016b63ac6a9cce3101cc084;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/module.c b/ltt/branches/poly/lttv/modules/guiControlFlow/module.c index 5b73abae..7d47e9d1 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/module.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/module.c @@ -84,10 +84,10 @@ G_MODULE_EXPORT void destroy() { g_critical("GUI Control Flow Viewer destroy()"); int i; - ControlFlowData *Control_Flow_Data; - g_slist_foreach(gControl_Flow_Data_List, destroy_walk, NULL ); + g_slist_free(gControl_Flow_Data_List); + /* Unregister the toolbar insert button */ ToolbarItemUnreg(hGuiControlFlow);