0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.1160: Vim9: memory leak in allocated types

Problem:    Vim9: memory leak in allocated types.
Solution:   Free the type pointers.
This commit is contained in:
Bram Moolenaar
2020-07-08 19:35:21 +02:00
parent 6b7a0a8c20
commit 6110e79a58
5 changed files with 13 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ free_imports(int sid)
}
ga_clear(&si->sn_imports);
ga_clear(&si->sn_var_vals);
ga_clear(&si->sn_type_list);
clear_type_list(&si->sn_type_list);
}
/*