Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 19214a469a051d7966bb6edacd3609c6af8633be 1 parent fe13aae
Bram Moolenaar authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  src/version.c
  2. +1 −1  src/window.c
View
2  src/version.c
@@ -720,6 +720,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 642,
+/**/
641,
/**/
640,
View
2  src/window.c
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.