String.freeAndSteal
string freeAndSteal()Frees the memory allocated for the #GString.
The caller gains ownership of the buffer and must free it after use with [glib.global.gfree].
Returns
the character data of string
string freeAndSteal()Frees the memory allocated for the #GString.
The caller gains ownership of the buffer and must free it after use with [glib.global.gfree].