mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Convert io_buffer_destroy to ~io_buffer_t
This commit is contained in:
3
exec.cpp
3
exec.cpp
@@ -1054,8 +1054,6 @@ void exec(parser_t &parser, job_t *j)
|
||||
p->completed = 1;
|
||||
}
|
||||
|
||||
io_buffer_destroy(io_buffer);
|
||||
|
||||
io_buffer.reset();
|
||||
break;
|
||||
|
||||
@@ -1455,7 +1453,6 @@ static int exec_subshell_internal(const wcstring &cmd, wcstring_list_t *lst)
|
||||
}
|
||||
}
|
||||
|
||||
io_buffer_destroy(io_buffer);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user