diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-01-06 06:52:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-06 06:52:52 -0800 |
commit | 83b0054b87f82583873a6e7ef291507c580618b1 (patch) | |
tree | 1e3e8c3ee47b084e774c65f16950350afbd7a1cf /src/nvim/eval.c | |
parent | fa9b057d356edb9de7c778d62aed8d2451de56fb (diff) | |
parent | 83083dd47b0c2880e4e1401f1c751013c533d57f (diff) | |
download | rneovim-83b0054b87f82583873a6e7ef291507c580618b1.tar.gz rneovim-83b0054b87f82583873a6e7ef291507c580618b1.tar.bz2 rneovim-83b0054b87f82583873a6e7ef291507c580618b1.zip |
Merge #11674 'vim-patch:8.0.1786,8.1.{851,1308,1309,1579}'
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index cf4d3af232..5c19ce4047 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -5920,7 +5920,7 @@ static int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate) if (**arg != '}') { EMSG2(_("E723: Missing end of Dictionary '}': %s"), *arg); failret: - if (evaluate) { + if (d != NULL) { tv_dict_free(d); } return FAIL; |