mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00: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:
@@ -137,7 +137,6 @@ uint64_t channel_from_job(char **argv)
|
|||||||
&status);
|
&status);
|
||||||
|
|
||||||
if (status <= 0) {
|
if (status <= 0) {
|
||||||
free_channel(channel);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user