[gnome-builder] flatpak: ensure new_runtime_name is initialized



commit 1fb7c23816257a18586e4b45e769f630af48a76d
Author: Christian Hergert <chergert redhat com>
Date:   Thu Feb 16 00:23:00 2017 -0800

    flatpak: ensure new_runtime_name is initialized

 .../flatpak/gbp-flatpak-configuration-provider.c   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/flatpak/gbp-flatpak-configuration-provider.c 
b/plugins/flatpak/gbp-flatpak-configuration-provider.c
index a82a981..517c49f 100644
--- a/plugins/flatpak/gbp-flatpak-configuration-provider.c
+++ b/plugins/flatpak/gbp-flatpak-configuration-provider.c
@@ -113,8 +113,8 @@ gbp_flatpak_configuration_provider_save_worker (GTask        *task,
       const gchar *new_runtime_id;
       const gchar *config_prefix;
       const gchar *new_prefix;
+      const gchar *new_runtime_name = NULL;
       gchar *json_string;
-      gchar *new_runtime_name;
       GFile *manifest;
       gboolean in_config_opts_array;
       gboolean in_primary_module;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]