[gnome-builder/wip/gtk4-port: 1159/1774] plugins/buildstream: dont leak stage object




commit d1fd4c136dc5eca4e66c53f85ff6c8d0249194c4
Author: Christian Hergert <chergert redhat com>
Date:   Wed May 25 16:30:14 2022 -0700

    plugins/buildstream: dont leak stage object

 src/plugins/buildstream/gbp-buildstream-pipeline-addin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/buildstream/gbp-buildstream-pipeline-addin.c 
b/src/plugins/buildstream/gbp-buildstream-pipeline-addin.c
index bfebdde78..95fee72a3 100644
--- a/src/plugins/buildstream/gbp-buildstream-pipeline-addin.c
+++ b/src/plugins/buildstream/gbp-buildstream-pipeline-addin.c
@@ -56,8 +56,8 @@ gbp_buildstream_pipeline_addin_load (IdePipelineAddin *addin,
   g_autoptr(IdeSubprocessLauncher) fetch_launcher = NULL;
   g_autoptr(IdeSubprocessLauncher) build_launcher = NULL;
   g_autoptr(IdeSubprocessLauncher) clean_launcher = NULL;
+  g_autoptr(IdePipelineStage) stage = NULL;
   IdeBuildSystem *build_system;
-  IdePipelineStage *stage;
   IdeContext *context;
   guint id;
 


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