mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Fix memory leaks when using add_objects
This commit is contained in:
parent
0696bc8e86
commit
03018f1d01
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user