Dokumentaro de Gambaso
Compilation & Installation
Components
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

_free

GB_METHOD ( "_free" , NULL , MyClass_free , NULL )

The _free method is called when an object of the class is destroyed.

This method take no parameter and returns nothing.

Use this method to cleanup the object. For example, if the object structure contains references to strings or objects, you must release them, otherwise you will create memory leaks.

See also