diff options
Diffstat (limited to 'gtk/expert_comp_dlg.c')
-rw-r--r-- | gtk/expert_comp_dlg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/expert_comp_dlg.c b/gtk/expert_comp_dlg.c index 64ee31a4bc..63d75ceb56 100644 --- a/gtk/expert_comp_dlg.c +++ b/gtk/expert_comp_dlg.c @@ -196,6 +196,11 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data) remove_tap_listener(ss); unprotect_thread_critical_region(); + if (expert_comp_dlg_w != NULL) { + window_destroy(expert_comp_dlg_w); + expert_comp_dlg_w = NULL; + } + free_error_table_data(&ss->error_table); free_error_table_data(&ss->warn_table); free_error_table_data(&ss->note_table); |