mirror of
https://github.com/zoriya/vim.git
synced 2025-12-21 06:35:17 +00:00
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