Commit 03018f1d authored by Paolo Borelli's avatar Paolo Borelli

Fix memory leaks when using add_objects

parent 0696bc8e
......@@ -380,7 +380,12 @@ parse_object (GMarkupParseContext *context,
data->inside_requested_object = TRUE;
}
else
return;
{
g_free (object_class);
g_free (object_id);
g_free (constructor);
return;
}
}
object_info = g_slice_new0 (ObjectInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment