X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Fcontrolflow%2Fcfv.c;h=06db4d2d6ef8c0061429aa9d89b1ad8065a6d941;hb=88bf15f0f2a239186b5cf6fcf8711786907ca483;hp=d807b7c90622e3f4422a141e5da48f878dc759f1;hpb=fc26eb1bc42c56bd69f06feeae8ae14371dea69a;p=lttv.git diff --git a/lttv/modules/gui/controlflow/cfv.c b/lttv/modules/gui/controlflow/cfv.c index d807b7c9..06db4d2d 100644 --- a/lttv/modules/gui/controlflow/cfv.c +++ b/lttv/modules/gui/controlflow/cfv.c @@ -348,8 +348,9 @@ guicontrolflow_destructor(gpointer data) g_info("%p, %p, %p", update_time_window_hook, plugin_cfv, tab); if(GTK_IS_WIDGET(guicontrolflow_get_widget(plugin_cfv->cfd))) g_info("widget still exists"); - +#ifdef BABEL_CLEANUP lttv_filter_destroy(plugin_cfv->cfd->filter); +#endif //babel_cleanup /* Process List is removed with it's widget */ //ProcessList_destroy(control_flow_data->process_list); if(tab != NULL) @@ -374,7 +375,9 @@ guicontrolflow_destructor(gpointer data) lttvwindow_events_request_remove_all(control_flow_data->tab, control_flow_data); - + LttvTraceset *traceset = lttvwindow_get_traceset(tab); + LttvHooks *event_hook = lttv_traceset_get_hooks(traceset); + lttv_hooks_remove(event_hook, before_schedchange_hook); } lttvwindowtraces_background_notify_remove(control_flow_data); g_control_flow_data_list =