Patch 7.4.317
Problem: Crash when starting gvim. Issue 230.
Solution: Check for a pointer to be NULL. (Christian Brabandt)
Files: src/window.c
*** ../vim-7.4.316/src/window.c 2014-05-28 13:42:59.884078184 +0200
--- src/window.c 2014-06-12 11:36:53.619441640 +0200
***************
*** 4721,4728 ****
win_free_lsize(wp)
win_T *wp;
{
! vim_free(wp->w_lines);
! wp->w_lines = NULL;
}
/*
--- 4721,4732 ----
win_free_lsize(wp)
win_T *wp;
{
! /* TODO: why would wp be NULL here? */
! if (wp != NULL)
! {
! vim_free(wp->w_lines);
! wp->w_lines = NULL;
! }
}
/*
*** ../vim-7.4.316/src/version.c 2014-05-29 14:36:26.156862577 +0200
--- src/version.c 2014-06-12 11:37:37.907443315 +0200
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 317,
/**/
--
press CTRL-ALT-DEL for more information
/// 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.