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 3330] Memory patches (leaks, uninitialized value)

Date: Mon, 13 Jul 2009 13:53:56 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3330


Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> changed:

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




--- Comment #3 from Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx>  2009-07-13 13:53:55 PDT ---
Created an attachment (id=3328)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=3328)
Fix some not-freed memory at cleanup

I've got this patch as separated commits, but it's quite small so sending in
one patch.

- Fix memleak (df->deprecated in dfilter_free())
- Free protocol hash tables on cleanup.
- Free protocols list on cleanup.
- Free memory allocated by fgetline() in parse_services_file()

It's my small contribution to decrease wireshark complaining about still
reachable blocks :)


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