ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 7098] Memory leaks in calls to capture_interface_list

Date: Sun, 15 Apr 2012 16:07:09 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7098

Guy Harris <guy@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Guy Harris <guy@xxxxxxxxxxxx> 2012-04-15 16:07:08 PDT ---
I used this as a basis for fixing the ui/gtk/main.c problem, but took it
further - for now, I got rid of the error-code argument to
scan_local_interfaces() as well, as none of its callers use it.

For the ui/gtk/main_window.c problem, I instead used the error string for the
CANT_GET_INTERFACE_LIST case, and added code to free it in all cases.

Checked in as revision 42089.

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