diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-14 16:08:27 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-18 07:56:58 -0300 |
commit | 2853500361ced68ee6010c4721093284ac9c9348 (patch) | |
tree | b8b44c2cdc39e61b10eee2b953f0ac76d7049448 /src | |
parent | 17a4bfe007477d3243bcde5209321625fa7f5c5f (diff) | |
download | rneovim-2853500361ced68ee6010c4721093284ac9c9348.tar.gz rneovim-2853500361ced68ee6010c4721093284ac9c9348.tar.bz2 rneovim-2853500361ced68ee6010c4721093284ac9c9348.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/msgpack_rpc/channel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index da1dc8d1b5..b6f0be0cd1 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -137,7 +137,6 @@ uint64_t channel_from_job(char **argv) &status); if (status <= 0) { - free_channel(channel); return 0; } |