On 3/27/23 15:43, Richard Henderson wrote:
On 3/27/23 05:42, Daniel Henrique Barboza wrote:+ g_autofree char *name = g_strdup_printf("%s", misa_cfg->name); + g_autofree char *desc = g_strdup_printf("%s", misa_cfg->description);What is the point of this? It would seem that you could simply pass the original string literals to object_property_*.
Yeah, it appears that every other object_property_add() is being called using the literals without dealing with g_autofree. I'll change it in v2. Daniel
r~
