From 2853500361ced68ee6010c4721093284ac9c9348 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Fri, 14 Nov 2014 16:08:27 -0300 Subject: 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. --- src/nvim/msgpack_rpc/channel.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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; } -- cgit