# HG changeset patch # User Christian Brabandt # Date 1538483407 -7200 # Node ID ad5b977b5ad19f2519e117ac3c0670d4252e4e16 # Parent 40ef13331e0267a9b247a5a0fb1e801314f19357 patch 8.1.0444: unnecessary check for NULL pointer commit https://github.com/vim/vim/commit/54ade9f7e3b5cfd582aee03591a2b0884b9a96ab Author: Bram Moolenaar Date: Tue Oct 2 14:15:12 2018 +0200 patch 8.1.0444: unnecessary check for NULL pointer Problem: Unnecessary check for NULL pointer. Solution: Remove check and call vim_free() directly. diff --git a/src/beval.c b/src/beval.c --- a/src/beval.c +++ b/src/beval.c @@ -125,8 +125,7 @@ get_beval_info( *textp = lbuf; *colp = col; #ifdef FEAT_VARTABS - if (beval->vts) - vim_free(beval->vts); + vim_free(beval->vts); beval->vts = tabstop_copy(wp->w_buffer->b_p_vts_array); #endif beval->ts = wp->w_buffer->b_p_ts; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -793,6 +793,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 444, +/**/ 443, /**/ 442,