comparison src/vim9script.c @ 21218:1f4d0375f947 v8.2.1160

patch 8.2.1160: Vim9: memory leak in allocated types Commit: https://github.com/vim/vim/commit/6110e79a5872dd6c5529f909d1bd670e3325927b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 8 19:35:21 2020 +0200 patch 8.2.1160: Vim9: memory leak in allocated types Problem: Vim9: memory leak in allocated types. Solution: Free the type pointers.
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Jul 2020 19:45:04 +0200
parents afed2045ffc9
children 8d1d11afd8c8
comparison
equal deleted inserted replaced
21217:d9d839c4d070 21218:1f4d0375f947
124 124
125 vim_free(imp->imp_name); 125 vim_free(imp->imp_name);
126 } 126 }
127 ga_clear(&si->sn_imports); 127 ga_clear(&si->sn_imports);
128 ga_clear(&si->sn_var_vals); 128 ga_clear(&si->sn_var_vals);
129 ga_clear(&si->sn_type_list); 129 clear_type_list(&si->sn_type_list);
130 } 130 }
131 131
132 /* 132 /*
133 * ":import Item from 'filename'" 133 * ":import Item from 'filename'"
134 * ":import Item as Alias from 'filename'" 134 * ":import Item as Alias from 'filename'"