Skip to content

Commit 9ef00be

Browse files
committed
patch 7.4.1500
Problem: Should_free flag set to FALSE. Solution: Set it to TRUE. (Neovim 4415)
1 parent be82c25 commit 9ef00be

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/ex_eval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ get_exception_string(
432432

433433
if (type == ET_ERROR)
434434
{
435-
*should_free = FALSE;
435+
*should_free = TRUE;
436436
mesg = ((struct msglist *)value)->throw_msg;
437437
if (cmdname != NULL && *cmdname != NUL)
438438
{
@@ -489,7 +489,7 @@ get_exception_string(
489489
else
490490
{
491491
*should_free = FALSE;
492-
ret = (char_u *) value;
492+
ret = (char_u *)value;
493493
}
494494

495495
return ret;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1500,
746748
/**/
747749
1499,
748750
/**/

0 commit comments

Comments
 (0)