Patch 8.1.0444
Problem:    Unnecessary check for NULL pointer.
Solution:   Remove check and call vim_free() directly.
Files:      src/beval.c


*** ../vim-8.1.0443/src/beval.c 2018-06-23 19:22:45.598486362 +0200
--- src/beval.c 2018-06-28 12:03:47.277451318 +0200
***************
*** 125,132 ****
                *textp = lbuf;
                *colp = col;
  #ifdef FEAT_VARTABS
!               if (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;
--- 125,131 ----
                *textp = lbuf;
                *colp = col;
  #ifdef FEAT_VARTABS
!               vim_free(beval->vts);
                beval->vts = tabstop_copy(wp->w_buffer->b_p_vts_array);
  #endif
                beval->ts = wp->w_buffer->b_p_ts;
*** ../vim-8.1.0443/src/version.c       2018-09-30 21:43:17.207693209 +0200
--- src/version.c       2018-10-02 14:14:26.115583047 +0200
***************
*** 794,795 ****
--- 794,797 ----
  {   /* Add new patch number below this line */
+ /**/
+     444,
  /**/

-- 
In a world without fences, who needs Gates and Windows?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui