Wireshark-dev: Re: [Wireshark-dev] RFD: Limiting scope of ep_ memory
From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Mon, 22 Oct 2012 23:36:37 +0200
On Mon, Oct 22, 2012 at 12:43:49PM -0400, Evan Huus wrote:
> Perhaps pinfo should have its own scope that is between ep and
> se? This would be much easier given the changes suggested in [1].
> 
> [1] https://www.wireshark.org/lists/wireshark-dev/201210/msg00178.html

Evan, when do you plan to merge it?

I think I need something simple: pi_*(packet_info *pinfo, ...) which just
use glib/system allocator, and store all pointers in list (pinfo->gc_list).
Later memory would be freed in epan_dissect_cleanup().

But I can wait for wmem.