aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/wsp_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/wsp_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/wsp_stat.c')
-rw-r--r--ui/gtk/wsp_stat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/gtk/wsp_stat.c b/ui/gtk/wsp_stat.c
index 1333ca23dd..eae0ab46d6 100644
--- a/ui/gtk/wsp_stat.c
+++ b/ui/gtk/wsp_stat.c
@@ -225,9 +225,7 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data)
{
wspstat_t *sp = (wspstat_t *)data;
- protect_thread_critical_region();
remove_tap_listener(sp);
- unprotect_thread_critical_region();
g_free(sp->pdu_stats);
g_free(sp->filter);