From 4db1e740908ca55ce4bfa1f9199133cea4cb4b82 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 28 Feb 2017 10:46:56 +0100 Subject: [PATCH] utils: Fix flatpak_bundle_load typo If we failed to look up the app metadata we would clear out a different out argument instead. --- common/flatpak-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c index 11b99b1c..114eab98 100644 --- a/common/flatpak-utils.c +++ b/common/flatpak-utils.c @@ -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)