diff options
Diffstat (limited to 'src/scriptfile.c')
-rw-r--r-- | src/scriptfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c index 611be04c8..740950f05 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -1360,7 +1360,9 @@ free_scriptnames(void) for (i = script_items.ga_len; i > 0; --i) { vim_free(SCRIPT_ITEM(i).sn_name); +# ifdef FEAT_PROFILE ga_clear(&SCRIPT_ITEM(i).sn_prl_ga); +# endif } ga_clear(&script_items); } |