[gnome-builder/wip/gtk4-port: 1160/1774] plugins/cargo: dont leak stage object
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1160/1774] plugins/cargo: dont leak stage object
- Date: Mon, 11 Jul 2022 22:31:36 +0000 (UTC)
commit da7561b4d2a70f749437db26d860cd3019b0ad1a
Author: Christian Hergert <chergert redhat com>
Date: Wed May 25 16:30:20 2022 -0700
plugins/cargo: dont leak stage object
src/plugins/cargo/gbp-cargo-pipeline-addin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/cargo/gbp-cargo-pipeline-addin.c b/src/plugins/cargo/gbp-cargo-pipeline-addin.c
index ad0123289..124f40324 100644
--- a/src/plugins/cargo/gbp-cargo-pipeline-addin.c
+++ b/src/plugins/cargo/gbp-cargo-pipeline-addin.c
@@ -77,7 +77,7 @@ gbp_cargo_pipeline_addin_load (IdePipelineAddin *addin,
g_autoptr(IdeSubprocessLauncher) fetch_launcher = NULL;
g_autoptr(IdeSubprocessLauncher) build_launcher = NULL;
g_autoptr(IdeSubprocessLauncher) clean_launcher = NULL;
- IdePipelineStage *stage;
+ g_autoptr(IdePipelineStage) stage = NULL;
g_autofree char *project_dir = NULL;
g_autofree char *cargo = NULL;
IdeBuildSystem *build_system;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]