mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
icon deserialisation: fix uninitialised variable
Deserialising an emblemed icon would make uninitialised use of a variable in the error case. Fix that.
This commit is contained in:
parent
c7e965f4ee
commit
c235087ba4
@ -546,6 +546,8 @@ g_icon_deserialize_emblemed (GVariant *value)
|
||||
|
||||
g_object_unref (main_icon);
|
||||
}
|
||||
else
|
||||
icon = NULL;
|
||||
|
||||
g_variant_iter_free (emblems);
|
||||
g_variant_unref (icon_data);
|
||||
|
Loading…
Reference in New Issue
Block a user