1
0
forked from aniani/vim

patch 9.0.1095: using freed memory when declaration fails

Problem:    Using freed memory when declaration fails. (Yegappan Lakshmanan)
Solution:   After unreferencing an object set the reference to NULL.
This commit is contained in:
Bram Moolenaar
2022-12-25 19:31:36 +00:00
parent 9b99411b93
commit 6ef5471afa
3 changed files with 20 additions and 0 deletions

View File

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