0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.1156

Problem:    Coverity warns for NULL pointer and ignoring return value.
Solution:   Check for NULL pointer. When dict_add() returns FAIL free the item.
This commit is contained in:
Bram Moolenaar
2016-01-23 21:38:51 +01:00
parent 64922b9014
commit 2dedb45260
2 changed files with 8 additions and 2 deletions

View File

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