gstring: Mark the return value from g_string_free() as nullable
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 14 Jan 2015 10:44:52 +0000 (10:44 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 3 Mar 2015 17:59:50 +0000 (17:59 +0000)
commitf829bde76acf0d139dcbe4b81b3721d9e929fbee
treee59ae52f4614e1be6974f5b7f2510785707ec98f
parentb9c94b344eacba14ad7b9a29e8a4b161c5d3e10e
gstring: Mark the return value from g_string_free() as nullable

It’s NULL iff free_segment is TRUE, so the annotation doesn’t quite
capture all the function definition, but is a safe over-estimate of the
return value’s nullability.

https://bugzilla.gnome.org/show_bug.cgi?id=719966
glib/gstring.c