summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-02 23:09:03 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-02 23:09:03 +0000
commit0f7d31ad83fd2088d0411c83a7819a3ce364bdf5 (patch)
treebb8aaff53062147f8e4003f3f46d7301c684ea00
parent1f8a5f0eac149a206b6b281c14325b6e8a78538a (diff)
downloadvim-0f7d31ad83fd2088d0411c83a7819a3ce364bdf5.zip
updated for version 7.0100
-rw-r--r--src/buffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index f102b1ef0..ce984ed02 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1720,7 +1720,10 @@ free_buf_options(buf, free_p_ff)
clear_string_option(&buf->b_p_nf);
#ifdef FEAT_SYN_HL
clear_string_option(&buf->b_p_syn);
+ clear_string_option(&buf->b_p_spc);
clear_string_option(&buf->b_p_spf);
+ vim_free(buf->b_cap_prog);
+ buf->b_cap_prog = NULL;
clear_string_option(&buf->b_p_spl);
#endif
#ifdef FEAT_SEARCHPATH