# HG changeset patch # User Christian Brabandt # Date 1464812105 -7200 # Node ID 731ee601de16dd77d4b827610603914e5f617517 # Parent 9652f2e50ea1369f81dc44125ded39596ded026b commit https://github.com/vim/vim/commit/9ad73239c26467832a5b553b2a4b99d7ffbaa25e Author: Bram Moolenaar Date: Wed Jun 1 22:08:17 2016 +0200 patch 7.4.1865 Problem: Memory leaks in tet49. (Dominique Pelle) Solution: Use NULL instead of an empty string. diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -5298,7 +5298,7 @@ eval7( * what follows. So set it here. */ if (rettv->v_type == VAR_UNKNOWN && !evaluate && **arg == '(') { - rettv->vval.v_string = vim_strsave((char_u *)""); + rettv->vval.v_string = NULL; rettv->v_type = VAR_FUNC; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1865, +/**/ 1864, /**/ 1863,