Convert io_buffer_destroy to ~io_buffer_t

This commit is contained in:
Cheer Xiao
2013-01-15 17:02:46 +08:00
parent a20e0b9e2e
commit 0f443ef37b
4 changed files with 6 additions and 15 deletions

View File

@@ -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;
}