mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
No OOM in vim_strsave_fnameescape()
This commit is contained in:
@@ -8557,8 +8557,6 @@ static int ses_put_fname(FILE *fd, char_u *name, unsigned *flagp)
|
||||
/* escape special characters */
|
||||
p = vim_strsave_fnameescape(sname, FALSE);
|
||||
free(sname);
|
||||
if (p == NULL)
|
||||
return FAIL;
|
||||
|
||||
/* write the result */
|
||||
if (fputs((char *)p, fd) < 0)
|
||||
|
Reference in New Issue
Block a user