Permalink
Browse files

updated for version 7.3.642

Problem:    Segfault with specific autocommands.  Was OK after 7.3.449 and
	    before 7.3.545. (Richard Brown)
Solution:   Pass TRUE for abort_if_last in the call to close_buffer().
	    (Christian Brabandt)
  • Loading branch information...
1 parent fe13aae commit 19214a469a051d7966bb6edacd3609c6af8633be @brammool brammool committed Aug 29, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 src/version.c
  2. +1 −1 src/window.c
View
@@ -720,6 +720,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 642,
+/**/
641,
/**/
640,
View
@@ -2269,7 +2269,7 @@ win_close(win, free_buf)
#ifdef FEAT_AUTOCMD
win->w_closing = TRUE;
#endif
- close_buffer(win, win->w_buffer, free_buf ? DOBUF_UNLOAD : 0, FALSE);
+ close_buffer(win, win->w_buffer, free_buf ? DOBUF_UNLOAD : 0, TRUE);
#ifdef FEAT_AUTOCMD
if (win_valid(win))
win->w_closing = FALSE;

0 comments on commit 19214a4

Please sign in to comment.