0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 9.0.1405: missing check for out-of-memory

Problem:    Missing check for out-of-memory.
Solution:   Check for alloc() returning NULL pointer. (closes #12149)
This commit is contained in:
Bram Moolenaar
2023-03-15 22:05:44 +00:00
parent e638acc927
commit 14338024c1
2 changed files with 18 additions and 14 deletions

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1405,
/**/
1404,
/**/