Wireshark-bugs: [Wireshark-bugs] [Bug 4140] emem patches
Date: Mon, 19 Oct 2009 15:58:39 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4140


Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3806|                            |review_for_checkin?
               Flag|                            |




--- Comment #4 from Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx>  2009-10-19 15:58:38 PDT ---
Created an attachment (id=3806)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=3806)
Add possibility to destroy mmaped memory

Thanks for commiting.

Well since ep_packet_mem and se_packet_mem are global variables there is no
need to initialize ->trees to NULL.

And se_trees (before) was initialized to NULL only once

It might be issue (memleaks) when WIRESHARK_DEBUG_SE_NO_CHUNKS is exported
cause
se_init_chunk() might be called several times.


Anyway I've got another patch (which fix above issue) :)
I did NOT test emem_destroy_chunk on win32 system.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.