|
Karsten Hopp |
a166c9 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
a166c9 |
Subject: Patch 7.4.317
|
|
Karsten Hopp |
a166c9 |
Fcc: outbox
|
|
Karsten Hopp |
a166c9 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a166c9 |
Mime-Version: 1.0
|
|
Karsten Hopp |
a166c9 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
a166c9 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a166c9 |
------------
|
|
Karsten Hopp |
a166c9 |
|
|
Karsten Hopp |
a166c9 |
Patch 7.4.317
|
|
Karsten Hopp |
a166c9 |
Problem: Crash when starting gvim. Issue 230.
|
|
Karsten Hopp |
a166c9 |
Solution: Check for a pointer to be NULL. (Christian Brabandt)
|
|
Karsten Hopp |
a166c9 |
Files: src/window.c
|
|
Karsten Hopp |
a166c9 |
|
|
Karsten Hopp |
a166c9 |
|
|
Karsten Hopp |
a166c9 |
*** ../vim-7.4.316/src/window.c 2014-05-28 13:42:59.884078184 +0200
|
|
Karsten Hopp |
a166c9 |
--- src/window.c 2014-06-12 11:36:53.619441640 +0200
|
|
Karsten Hopp |
a166c9 |
***************
|
|
Karsten Hopp |
a166c9 |
*** 4721,4728 ****
|
|
Karsten Hopp |
a166c9 |
win_free_lsize(wp)
|
|
Karsten Hopp |
a166c9 |
win_T *wp;
|
|
Karsten Hopp |
a166c9 |
{
|
|
Karsten Hopp |
a166c9 |
! vim_free(wp->w_lines);
|
|
Karsten Hopp |
a166c9 |
! wp->w_lines = NULL;
|
|
Karsten Hopp |
a166c9 |
}
|
|
Karsten Hopp |
a166c9 |
|
|
Karsten Hopp |
a166c9 |
/*
|
|
Karsten Hopp |
a166c9 |
--- 4721,4732 ----
|
|
Karsten Hopp |
a166c9 |
win_free_lsize(wp)
|
|
Karsten Hopp |
a166c9 |
win_T *wp;
|
|
Karsten Hopp |
a166c9 |
{
|
|
Karsten Hopp |
a166c9 |
! /* TODO: why would wp be NULL here? */
|
|
Karsten Hopp |
a166c9 |
! if (wp != NULL)
|
|
Karsten Hopp |
a166c9 |
! {
|
|
Karsten Hopp |
a166c9 |
! vim_free(wp->w_lines);
|
|
Karsten Hopp |
a166c9 |
! wp->w_lines = NULL;
|
|
Karsten Hopp |
a166c9 |
! }
|
|
Karsten Hopp |
a166c9 |
}
|
|
Karsten Hopp |
a166c9 |
|
|
Karsten Hopp |
a166c9 |
/*
|
|
Karsten Hopp |
a166c9 |
*** ../vim-7.4.316/src/version.c 2014-05-29 14:36:26.156862577 +0200
|
|
Karsten Hopp |
a166c9 |
--- src/version.c 2014-06-12 11:37:37.907443315 +0200
|
|
Karsten Hopp |
a166c9 |
***************
|
|
Karsten Hopp |
a166c9 |
*** 736,737 ****
|
|
Karsten Hopp |
a166c9 |
--- 736,739 ----
|
|
Karsten Hopp |
a166c9 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a166c9 |
+ /**/
|
|
Karsten Hopp |
a166c9 |
+ 317,
|
|
Karsten Hopp |
a166c9 |
/**/
|
|
Karsten Hopp |
a166c9 |
|
|
Karsten Hopp |
a166c9 |
--
|
|
Karsten Hopp |
a166c9 |
press CTRL-ALT-DEL for more information
|
|
Karsten Hopp |
a166c9 |
|
|
Karsten Hopp |
a166c9 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a166c9 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a166c9 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
a166c9 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|