utils: Fix flatpak_bundle_load typo

If we failed to look up the app metadata we would
clear out a different out argument instead.
This commit is contained in:
Alexander Larsson
2017-02-28 10:46:56 +01:00
parent b2b6dd3af2
commit 4db1e74090

View File

@@ -4249,7 +4249,7 @@ flatpak_bundle_load (GFile *file,
if (app_metadata != NULL)
{
if (!g_variant_lookup (metadata, "metadata", "s", app_metadata))
*runtime_repo = NULL;
*app_metadata = NULL;
}
if (gpg_keys != NULL)