summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index c1ffe7543..e2b3f5d15 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1721,6 +1721,7 @@ 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_spf);
clear_string_option(&buf->b_p_spl);
#endif
#ifdef FEAT_SEARCHPATH