On Mon, Mar 29, 2021 at 9:32 AM Pascal Quantin wrote:
> Did you look at the register_cleanup_routine() found in epan/packet.h? It
> seems to be what you are looking for. To quote the comments:
>
>
register_init_routine() and register_cleanup_routine() are exactly what I
was after. Beautiful, than
I am hoping this is the right place to ask this question but if not please
redirect me.
I am working on a custom C dissector and need to keep some data around for
the lifetime of the current file. At the moment I allocate my structures
using various wmem_ functions with a wmem_file_scope() scope a