0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.1.1022: may use NULL pointer when out of memory

Problem:    May use NULL pointer when out of memory. (Coverity)
Solution:   Check for blob_alloc() returning NULL.
This commit is contained in:
Bram Moolenaar
2019-03-19 23:03:27 +01:00
parent 8e9a24a127
commit e142a9467a
2 changed files with 4 additions and 0 deletions

View File

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