# HG changeset patch # User Christian Brabandt # Date 1485277205 -3600 # Node ID c647f01d6dbd1c73e8e9cb2bee7b10bf6699b133 # Parent 7115ccc512be7d7dc15e78f3a56cabfc1083b54e patch 8.0.0229: local 'formatprg' option value leaks commit https://github.com/vim/vim/commit/24a2d416ec261829ff7fd29f7b66739c96dd6513 Author: Bram Moolenaar 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. diff --git a/src/buffer.c b/src/buffer.c --- 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 --- 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,