diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-09-28 21:36:21 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-09-28 21:36:21 +0000 |
commit | 49ce5e127b1d05937a1bf9c153ab56a1303980f8 (patch) | |
tree | b0c0de1842ebbf5d4fec523b289f25d0ad8db7e1 /ui/gtk/gtp_stat.c | |
parent | 99d2b1470625b8a91fb236b5640cfeb22d913346 (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/gtp_stat.c')
-rw-r--r-- | ui/gtk/gtp_stat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/gtk/gtp_stat.c b/ui/gtk/gtp_stat.c index 07e26f21d1..48382a8c3a 100644 --- a/ui/gtk/gtp_stat.c +++ b/ui/gtk/gtp_stat.c @@ -126,9 +126,7 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data) { gtpstat_t *gtp=(gtpstat_t *)data; - protect_thread_critical_region(); remove_tap_listener(gtp); - unprotect_thread_critical_region(); free_srt_table_data(>p->gtp_srt_table); g_free(gtp); |