wireshark/capchild
Peter Wu c647faa8a9 Fix various memleaks
Found by starting Wireshark within an empty profile, opening
Preferences, search for Protocol "IEEE 802.11" (because it has radio
buttons), then close everything again.

Many fixes are trivial, but the various recent_read_* functions in
recent.c were changed to return a boolean such that the result can
always be checked even if errno==0.

QButtonGroup leak was hinted by Clang Static Analyzer, all other
memleaks were found using ASAN/LSan.

Change-Id: Ia73f5d4c09d92f22e72377be59e23342f8ad7211
Reviewed-on: https://code.wireshark.org/review/10776
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-10-04 15:45:02 +00:00
..
CMakeLists.txt Minor CMake updates to better group build artefacts 2015-01-05 23:48:46 +00:00
Makefile.am Move the routines to talk to dumpcap into a static libcapchild. 2014-06-23 23:58:29 +00:00
Makefile.common Move utility routines for capturing into a libcaputils static library. 2014-07-04 07:25:26 +00:00
Makefile.nmake Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
capture_ifinfo.c Fix various memleaks 2015-10-04 15:45:02 +00:00
capture_session.h Rename wsutil/process.h to wsutil/processes.h to avoid collisions. 2015-06-10 01:56:27 +00:00
capture_sync.c Fix retrieval of data link type supported by remote interfaces with authentication 2015-07-22 07:10:10 +00:00
capture_sync.h Fix retrieval of data link type supported by remote interfaces with authentication 2015-07-22 07:10:10 +00:00
doxygen.cfg.in Get rid of trailing blanks. 2014-06-24 02:08:37 +00:00