diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-06 14:58:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-06 14:58:28 +0100 |
commit | 9ef00be261115acb5bae3b3ca45c1d86a19ba2c7 (patch) | |
tree | 75806efb87451232bf5867e833aaef597d45733a /src/ex_eval.c | |
parent | be82c254862e475a582c0717455e1db6bf96b0d0 (diff) | |
download | vim-git-9ef00be261115acb5bae3b3ca45c1d86a19ba2c7.tar.gz |
patch 7.4.1500v7.4.1500
Problem: Should_free flag set to FALSE.
Solution: Set it to TRUE. (Neovim 4415)
Diffstat (limited to 'src/ex_eval.c')
-rw-r--r-- | src/ex_eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_eval.c b/src/ex_eval.c index c68c6ad18..3fd470c10 100644 --- a/src/ex_eval.c +++ b/src/ex_eval.c @@ -432,7 +432,7 @@ get_exception_string( if (type == ET_ERROR) { - *should_free = FALSE; + *should_free = TRUE; mesg = ((struct msglist *)value)->throw_msg; if (cmdname != NULL && *cmdname != NUL) { @@ -489,7 +489,7 @@ get_exception_string( else { *should_free = FALSE; - ret = (char_u *) value; + ret = (char_u *)value; } return ret; |