mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 7.4.1865
Problem: Memory leaks in tet49. (Dominique Pelle) Solution: Use NULL instead of an empty string.
This commit is contained in:
@@ -5298,7 +5298,7 @@ eval7(
|
|||||||
* what follows. So set it here. */
|
* what follows. So set it here. */
|
||||||
if (rettv->v_type == VAR_UNKNOWN && !evaluate && **arg == '(')
|
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;
|
rettv->v_type = VAR_FUNC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -753,6 +753,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 */
|
||||||
|
/**/
|
||||||
|
1865,
|
||||||
/**/
|
/**/
|
||||||
1864,
|
1864,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user