[gnome-builder/wip/chergert/flatpak-repo: 29/29] foundry: release proper transient stage




commit 43436f1c77d6dbc66bd82665345c80972942fe7f
Author: Christian Hergert <chergert redhat com>
Date:   Wed Aug 25 14:54:33 2021 -0700

    foundry: release proper transient stage

 src/libide/foundry/ide-pipeline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-pipeline.c b/src/libide/foundry/ide-pipeline.c
index 01afdc53f..7eafdcdd6 100644
--- a/src/libide/foundry/ide-pipeline.c
+++ b/src/libide/foundry/ide-pipeline.c
@@ -801,7 +801,7 @@ ide_pipeline_release_transients (IdePipeline *self)
           IDE_TRACE_MSG ("Releasing transient stage %s at index %u",
                          G_OBJECT_TYPE_NAME (entry->stage),
                          i - 1);
-          g_array_remove_index (self->pipeline, i);
+          g_array_remove_index (self->pipeline, i - 1);
           g_list_model_items_changed (G_LIST_MODEL (self), i - 1, 1, 0);
         }
     }


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