diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-01-24 17:48:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-01-24 17:48:36 +0100 |
commit | 24a2d416ec261829ff7fd29f7b66739c96dd6513 (patch) | |
tree | 39428e4d6a0c7ddefe0d42fa8700c0f75caca9d6 /src | |
parent | abbc448bc09a292ec1263ffe69b4cb3d1c57f020 (diff) |
patch 8.0.0229: local 'formatprg' option value leaksv8.0.0229
Problem: When freeing a buffer the local value of the 'formatprg' option is
not cleared.
Solution: Add missing change.
Diffstat (limited to 'src')
-rw-r--r-- | src/buffer.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index b79e277a01..b2c914d7a8 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2153,6 +2153,7 @@ free_buf_options( #if defined(FEAT_CRYPT) clear_string_option(&buf->b_p_cm); #endif + clear_string_option(&buf->b_p_fp); #if defined(FEAT_EVAL) clear_string_option(&buf->b_p_fex); #endif diff --git a/src/version.c b/src/version.c index 6d3b8483f7..829b3b94c8 100644 --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 229, +/**/ 228, /**/ 227, |