diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-22 21:45:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-22 21:45:19 +0200 |
commit | a720be78d7978b3b853ff6c8af0d1721d6225378 (patch) | |
tree | 86bfec787293af7b530f243708a2904ec9a46393 /src/scriptfile.c | |
parent | 396b7c78c0fd9cd07528963b18c27398491df40d (diff) | |
download | vim-git-a720be78d7978b3b853ff6c8af0d1721d6225378.tar.gz |
patch 8.1.2199: build failure when using normal features without GUIv8.1.2199
Problem: Build failure when using normal features without GUI and EXITFREE
defined.
Solution: Add #ifdef. (Dominique Pelle, closes #5106)
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); } |