mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
channel: Remove invalid free_channel call
When a job fails to start, it will already call the exit_cb which takes care of freeing the channel.
This commit is contained in:
parent
17a4bfe007
commit
2853500361
@ -137,7 +137,6 @@ uint64_t channel_from_job(char **argv)
|
||||
&status);
|
||||
|
||||
if (status <= 0) {
|
||||
free_channel(channel);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user