diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-15 20:39:46 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-15 20:39:46 +0100 |
commit | 3bece9fee9c02934d3e295b29d253e13d4ef26a7 (patch) | |
tree | 716659cb27215968e8e7790ac674cc456068ad2f /src/proto/eval.pro | |
parent | 71b0f7b5c083d32fd37fa825f5d829b6a6c1a09a (diff) | |
download | vim-git-3bece9fee9c02934d3e295b29d253e13d4ef26a7.tar.gz |
patch 7.4.1322v7.4.1322
Problem: Crash when unletting the variable that holds the channel in a
callback function. (Christian Robinson)
Solution: Increase the reference count while invoking the callback.
Diffstat (limited to 'src/proto/eval.pro')
-rw-r--r-- | src/proto/eval.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/eval.pro b/src/proto/eval.pro index d1f5c3cc8..e63205e11 100644 --- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -79,6 +79,7 @@ int dict_add_list(dict_T *d, char *key, list_T *list); dictitem_T *dict_find(dict_T *d, char_u *key, int len); char_u *get_dict_string(dict_T *d, char_u *key, int save); long get_dict_number(dict_T *d, char_u *key); +int channel_unref(channel_T *channel); int string2float(char_u *text, float_T *value); char_u *get_function_name(expand_T *xp, int idx); char_u *get_expr_name(expand_T *xp, int idx); |