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:
Ryan Lortie 2013-05-29 21:49:53 -04:00
parent c7e965f4ee
commit c235087ba4

View File

@ -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);