From 12d39efdca10496bfad8688cb7de74218a63d4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 31 Dec 2021 16:39:38 +0000 Subject: Revert "epan: Initialize wiretap" This reverts commit c15f2aadc1aef3f4855c682ff7f686d5f63088cb. Crashes on exit. Needs more work. Fixes #17821. --- epan/epan.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'epan/epan.c') diff --git a/epan/epan.c b/epan/epan.c index 9820a4327f..85a02ed4ac 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -21,7 +21,6 @@ #include -#include #include #include "epan.h" @@ -247,8 +246,6 @@ epan_init(register_cb cb, gpointer client_data, gboolean load_plugins) wireshark_abort_on_too_many_items = FALSE; } - wtap_init(load_plugins); - /* * proto_init -> register_all_protocols -> g_async_queue_new which * requires threads to be initialized. This happens automatically with @@ -431,8 +428,6 @@ epan_cleanup(void) } wmem_cleanup_scopes(); - - wtap_cleanup(); } struct epan_session { -- cgit v1.2.3