[Gegl-developer] gegl_node_set_property
Martin Nordholts
enselic at gmail.com
Fri Jun 26 13:13:21 PDT 2009
Florent Monnier wrote:
> Hi,
> I have a question about the use of the type GValue for the function
> gegl_node_set_property(). As I'm not familiar with the glib, I have read the
> doc and used g_value_unset() at the end. But then I've read the source of the
> python and ruby bindings and seen g_value_unset() was not used, so what is
> the correct use? isn't there a memory leak without g_value_unset() ?
>
After looking briefly at the ruby binding it also looks like a leak to
me. Yes, one need to call g_value_unset() on used GValue:s, otherwise
there is a risk of memory leaks.
BR,
Martin
More information about the Gegl-developer
mailing list