No OOM in vim_strsave_escaped[_ext]()

This commit is contained in:
Felipe Oliveira Carvalho
2014-05-30 22:46:26 -03:00
parent f7e64c3c5f
commit 8234f2839f
10 changed files with 31 additions and 61 deletions

View File

@@ -7424,12 +7424,6 @@ int ExpandOldSetting(int *num_file, char_u ***file)
* what happens in do_set(). */
buf = vim_strsave_escaped(var, escape_chars);
if (buf == NULL) {
free(*file);
*file = NULL;
return FAIL;
}
#ifdef BACKSLASH_IN_FILENAME
/* For MS-Windows et al. we don't double backslashes at the start and
* before a file name character. */