forked from aniani/vim
patch 8.2.3133: Vim9: memory leak when add() fails
Problem: Vim9: memory leak when add() fails. Solution: Allocate listitem_T after type check.
This commit is contained in:
@@ -755,6 +755,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3133,
|
||||
/**/
|
||||
3132,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user