diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-05-30 22:46:26 -0300 |
---|---|---|
committer | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-06-16 01:36:31 -0300 |
commit | 8234f2839f78009442b4ed7bc0599e6b581d5cf8 (patch) | |
tree | 58778fbe69bf5d471563a99163e3ade8aa661d32 /src/nvim/option.c | |
parent | f7e64c3c5f70bf642f0ec7bec835f2827939abd7 (diff) | |
download | rneovim-8234f2839f78009442b4ed7bc0599e6b581d5cf8.tar.gz rneovim-8234f2839f78009442b4ed7bc0599e6b581d5cf8.tar.bz2 rneovim-8234f2839f78009442b4ed7bc0599e6b581d5cf8.zip |
No OOM in vim_strsave_escaped[_ext]()
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 5690d2c61f..b610ac463e 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -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. */ |