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

Wireshark-dev: Re: [Wireshark-dev] [PATCH] Re: Freeing memory of se_alloc'ated object

From: Max <dmitrmax@xxxxxxxxx>
Date: Tue, 3 May 2011 02:31:56 +0400
2011/5/2 Guy Harris <guy@xxxxxxxxxxxx>:
>
> A separate "cleanup" routine, called when the capture is closed, *before* the se_allocated memory is freed, might be useful...

Do you mean separate as global? I.e. with setup code like

  register_se_cleanup_callback(my_module_cb);

?

--
  Max