aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/fc_stat.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-28 21:36:21 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-28 21:36:21 +0000
commit49ce5e127b1d05937a1bf9c153ab56a1303980f8 (patch)
treeb0c0de1842ebbf5d4fec523b289f25d0ad8db7e1 /ui/gtk/fc_stat.c
parent99d2b1470625b8a91fb236b5640cfeb22d913346 (diff)
protect_thread_critical_region, unprotect_thread_critical_region are no-ops, cleanup code by removing them.
svn path=/trunk/; revision=45201
Diffstat (limited to 'ui/gtk/fc_stat.c')
-rw-r--r--ui/gtk/fc_stat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/gtk/fc_stat.c b/ui/gtk/fc_stat.c
index 73c97a2c3c..2bc97fac53 100644
--- a/ui/gtk/fc_stat.c
+++ b/ui/gtk/fc_stat.c
@@ -107,9 +107,7 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data)
{
fcstat_t *fc=(fcstat_t *)data;
- protect_thread_critical_region();
remove_tap_listener(fc);
- unprotect_thread_critical_region();
free_srt_table_data(&fc->fc_srt_table);
g_free(fc);