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

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