forked from aniani/vim
patch 8.2.3427: double free when list is copied
Problem: Double free when list is copied. Solution: Allocate the type when making a copy. (closes #8862) Clear the type for flattennew(). Avoid a memory leak when flattennew() fails.
This commit is contained in:
@@ -755,6 +755,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3427,
|
||||
/**/
|
||||
3426,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user