Wireshark mailing list archives

Re: RFD: Limiting scope of ep_ memory


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: