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

Wireshark-bugs: [Wireshark-bugs] [Bug 5575] Patch to fix memory leaks/errors in Lua plugin

Date: Sat, 5 Nov 2011 13:58:02 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5575

--- Comment #11 from Stig Bjørlykke <stig@xxxxxxxxxxxxx> 2011-11-05 13:58:01 PDT ---
(In reply to comment #6)
> Created an attachment (id=7371)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7371) [details]
> Fix memory errors in Lua dissectors.

I just had a look at this patch.  Do we really need to introduce the TvbRange
cleanup routines?  I would like to change the g_malloc in new_TvbRange() to
ep_alloc instead of introducing this.  What do you think?

Why did you add col_clear before col_add_str?  I don't think they are needed.

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