forked from AuroraMiddleware/gtk
Fix memory leaks when using add_objects
This commit is contained in:
parent
0696bc8e86
commit
03018f1d01
@ -380,8 +380,13 @@ parse_object (GMarkupParseContext *context,
|
||||
data->inside_requested_object = TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
g_free (object_class);
|
||||
g_free (object_id);
|
||||
g_free (constructor);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
object_info = g_slice_new0 (ObjectInfo);
|
||||
object_info->class_name = object_class;
|
||||
|
Loading…
Reference in New Issue
Block a user