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



commit e64338823ac64f97b56cdd741d3a0c510512e7bd
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]