Re: gegl_node_set_property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux