# HG changeset patch # User Christian Brabandt # Date 1457272805 -3600 # Node ID 89f38c77e11ebe4e6a484e41745b03c9479ab07f # Parent c7d9934d09e30825a83793f885ad57ff29fd5a6f commit https://github.com/vim/vim/commit/9ef00be261115acb5bae3b3ca45c1d86a19ba2c7 Author: Bram Moolenaar Date: Sun Mar 6 14:58:28 2016 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -744,6 +744,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1500, +/**/ 1499, /**/ 1498,