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.

class String
string
freeAndSteal
()

Return Value

Type: string

the character data of string