GParamSpec and memory allocation.



Hello, everyone.

I'm sorry if this is a stupid question but: Am I supposed to free the
return of a g_param_spec_* call ? The docs say it is a newly created
param_spec, but I don't know if the g_object_class_install_property
takes ownership over the passed pointer.

Can anyone enlighten me ?

Thanks,
Alexandre Moreira.


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