aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-12-31 16:39:38 +0000
committerJoão Valverde <j@v6e.pt>2022-01-01 16:23:04 +0000
commit12d39efdca10496bfad8688cb7de74218a63d4e9 (patch)
tree6d8ee008aca534dd0e228b0e808a2d786815ee5c /epan/epan.c
parent5ce73acf455b889e1022d47473148b51605d0ca0 (diff)
Revert "epan: Initialize wiretap"
This reverts commit c15f2aadc1aef3f4855c682ff7f686d5f63088cb. Crashes on exit. Needs more work. Fixes #17821.
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c5
1 files changed, 0 insertions, 5 deletions
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 <wsutil/report_message.h>
-#include <wiretap/wtap.h>
#include <epan/exceptions.h>
#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 {