This tutorial describes how and when a custom GObject class needs to free its internal data. In particular, the difference between a method disposeand a method finalize.
When you create a GObject, you should only not fix it and never release it, or even bypass the reference counting system and possibly cause crashes somewhere else.
source
share