ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Wireshark Final Cleanup Function/Hook?

From: Dirk Jagdmann <doj@xxxxxxxxx>
Date: Tue, 28 Aug 2012 02:58:46 +0200
Hello Wireshark developers,

is there a way to register a cleanup function in a dissector to be called when a file closed? I have a couple of hash tables allocated using g_hash_table_new() that I want to free when the user closes the file.

--
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org