commit | 9ef00be261115acb5bae3b3ca45c1d86a19ba2c7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Mar 06 14:58:28 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Mar 06 14:58:28 2016 +0100 |
tree | 75806efb87451232bf5867e833aaef597d45733a | |
parent | be82c254862e475a582c0717455e1db6bf96b0d0 [diff] [blame] |
patch 7.4.1500 Problem: Should_free flag set to FALSE. Solution: Set it to TRUE. (Neovim 4415)
diff --git a/src/ex_eval.c b/src/ex_eval.c index c68c6ad..3fd470c 100644 --- a/src/ex_eval.c +++ b/src/ex_eval.c
@@ -432,7 +432,7 @@ 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 @@ else { *should_free = FALSE; - ret = (char_u *) value; + ret = (char_u *)value; } return ret;