xmlNodePtr n;
Options *o;
- o = g_new0(Options, 1);
+ o = g_slice_new0(Options);
if ((n = obt_xml_find_node(node, "string")))
o->str = obt_xml_node_string(n);
{
Options *o = options;
g_free(o->str);
- g_free(o);
+ g_slice_free(Options, o);
}
/* Always return FALSE because its not interactive */