From 9ef00be261115acb5bae3b3ca45c1d86a19ba2c7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 6 Mar 2016 14:58:28 +0100 Subject: [PATCH] patch 7.4.1500 Problem: Should_free flag set to FALSE. Solution: Set it to TRUE. (Neovim 4415) --- src/ex_eval.c | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 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; diff --git a/src/version.c b/src/version.c index 6ce39932a..106fa2081 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1500, /**/ 1499, /**/ -- 2.50.1