runtime: fix memory leaks

This commit is contained in:
2026-05-30 19:52:36 +01:00
parent 26b368a512
commit 96bf76aabc
9 changed files with 75 additions and 19 deletions
+1
View File
@@ -26,6 +26,7 @@ static void pipeline_fini(fx_object *obj, void *priv)
for (size_t i = 0; i < pipeline->p_cmds.count; i++) {
bshell_cmdcall_unref(pipeline->p_cmds.items[i]);
}
fx_vector_destroy(pipeline->p_cmds, NULL);
if (pipeline->p_in) {
fx_array_unref(pipeline->p_in);