Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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