wireshark/capchild
Guy Harris 63a3d043e3 Consistently use the "g_string_free returns a C string pointer" idiom.
g_string_free(str, FALSE) frees the GString container but not the
underlying g_malloc()ed string; instead, it returns a pointer to the
g_malloc()ed string.

Fix those places that didn't already get the string pointer from
g_string_free() to do so rather than manually extracting the string
themselves.

And fix one place that didn't even need to use a string - it was just
scanning a C string without even modifying it.

Change-Id: Ibbf4872bf5b9935b9907f539b6edb1013f3053a5
Reviewed-on: https://code.wireshark.org/review/6532
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-01-13 23:14:13 +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 Qt: Add a CaptureFile class. 2014-12-20 17:39:29 +00:00
capture_session.h Qt: Add a CaptureFile class. 2014-12-20 17:39:29 +00:00
capture_sync.c Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
capture_sync.h Move the routines to talk to dumpcap into a static libcapchild. 2014-06-23 23:58:29 +00:00
doxygen.cfg.in Get rid of trailing blanks. 2014-06-24 02:08:37 +00:00