wireshark/echld
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 Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.am Add a bunch of missing files to the distribution. 2014-07-31 07:43:41 +00:00
Makefile.common No version_info.c any more. 2014-12-31 07:10:17 +00:00
Makefile.nmake Remove 'include win32.mak' from certain nmake files when not needed. 2014-05-01 15:12:46 +00:00
child.c Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
common.c Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
dispatcher.c Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
echld-int.h Move the version_info.c stuff to wsutil/ws_version_info.c. 2014-12-31 03:41:02 +00:00
echld-util.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
echld-util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
echld.h Wrong macro. 2014-07-07 04:32:11 +00:00
parent.c Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00