mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -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. */
|
||||
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user