diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-13 23:23:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-13 23:23:53 +0100 |
commit | 7707344ddec9069b495b2a5ed41f2104466fc88b (patch) | |
tree | 9c6b21f811c7c38a89daf010c61453d7d6eaa8da /src/json.c | |
parent | e516c39ee97cb85fa230fbb1b1f54ad1346920d9 (diff) | |
download | vim-git-7707344ddec9069b495b2a5ed41f2104466fc88b.tar.gz |
patch 7.4.1315v7.4.1315
Problem: Using a channel handle does not allow for freeing it when unused.
Solution: Add the Channel variable type.
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json.c b/src/json.c index 31bac26d5..8d9a03b71 100644 --- a/src/json.c +++ b/src/json.c @@ -183,6 +183,7 @@ json_encode_item(garray_T *gap, typval_T *val, int copyID, int options) case VAR_FUNC: case VAR_JOB: + case VAR_CHANNEL: /* no JSON equivalent TODO: better error */ EMSG(_(e_invarg)); return FAIL; |