0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.0825: def_function() may return pointer that was freed

Problem:    def_function() may return pointer that was freed.
Solution:   Set "fp" to NULL after freeing it.
This commit is contained in:
Bram Moolenaar
2020-05-25 23:29:28 +02:00
parent 1919371b2b
commit a14e697547
2 changed files with 5 additions and 0 deletions

View File

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