0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.1500

Problem:    Should_free flag set to FALSE.
Solution:   Set it to TRUE. (Neovim 4415)
This commit is contained in:
Bram Moolenaar 2016-03-06 14:58:28 +01:00
parent be82c25486
commit 9ef00be261
2 changed files with 4 additions and 2 deletions

View File

@ -432,7 +432,7 @@ get_exception_string(
if (type == ET_ERROR) if (type == ET_ERROR)
{ {
*should_free = FALSE; *should_free = TRUE;
mesg = ((struct msglist *)value)->throw_msg; mesg = ((struct msglist *)value)->throw_msg;
if (cmdname != NULL && *cmdname != NUL) if (cmdname != NULL && *cmdname != NUL)
{ {
@ -489,7 +489,7 @@ get_exception_string(
else else
{ {
*should_free = FALSE; *should_free = FALSE;
ret = (char_u *) value; ret = (char_u *)value;
} }
return ret; return ret;

View File

@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1500,
/**/ /**/
1499, 1499,
/**/ /**/