Mercurial > vim
comparison src/buffer.c @ 10678:c647f01d6dbd v8.0.0229
patch 8.0.0229: local 'formatprg' option value leaks
commit https://github.com/vim/vim/commit/24a2d416ec261829ff7fd29f7b66739c96dd6513
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 24 17:48:36 2017 +0100
patch 8.0.0229: local 'formatprg' option value leaks
Problem: When freeing a buffer the local value of the 'formatprg' option is
not cleared.
Solution: Add missing change.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 24 Jan 2017 18:00:05 +0100 |
parents | 01a5f64a7a20 |
children | 5780bd3a5a7e |
comparison
equal
deleted
inserted
replaced
10677:7115ccc512be | 10678:c647f01d6dbd |
---|---|
2151 clear_string_option(&buf->b_p_bexpr); | 2151 clear_string_option(&buf->b_p_bexpr); |
2152 #endif | 2152 #endif |
2153 #if defined(FEAT_CRYPT) | 2153 #if defined(FEAT_CRYPT) |
2154 clear_string_option(&buf->b_p_cm); | 2154 clear_string_option(&buf->b_p_cm); |
2155 #endif | 2155 #endif |
2156 clear_string_option(&buf->b_p_fp); | |
2156 #if defined(FEAT_EVAL) | 2157 #if defined(FEAT_EVAL) |
2157 clear_string_option(&buf->b_p_fex); | 2158 clear_string_option(&buf->b_p_fex); |
2158 #endif | 2159 #endif |
2159 #ifdef FEAT_CRYPT | 2160 #ifdef FEAT_CRYPT |
2160 clear_string_option(&buf->b_p_key); | 2161 clear_string_option(&buf->b_p_key); |