runtime: fix memory leaks
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user