summaryrefslogtreecommitdiff
path: root/src/proto/channel.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-04 22:49:49 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-04 22:49:49 +0100
commit4b6a6dcbe7bd13170c4884cc17acb1eac2c633d1 (patch)
tree9d02e26cd34ab973630872b8953d23d0fcb67a54 /src/proto/channel.pro
parenta8343c1808f2f268282f3030ce4adaf22e8ade54 (diff)
downloadvim-4b6a6dcbe7bd13170c4884cc17acb1eac2c633d1.zip
patch 7.4.1261
Problem: Pending channel messages are garbage collected. Leaking memory in ch_sendexpr(). Leaking memory for a decoded JSON string. Solution: Mark the message list as used. Free the encoded JSON. Don't save the JSON string.
Diffstat (limited to 'src/proto/channel.pro')
-rw-r--r--src/proto/channel.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro
index f53ac6680..197cddf86 100644
--- a/src/proto/channel.pro
+++ b/src/proto/channel.pro
@@ -22,4 +22,5 @@ int channel_poll_check(int ret_in, void *fds_in);
int channel_select_setup(int maxfd_in, void *rfds_in);
int channel_select_check(int ret_in, void *rfds_in);
int channel_parse_messages(void);
+int set_ref_in_channel(int copyID);
/* vim: set ft=c : */