From 5e9b4540fdad2e8cb2192da2e964bceeac8aa3fa Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 29 Jul 2009 14:24:36 +0000 Subject: [PATCH] updated for version 7.2-243 --- src/screen.c | 7 ++++++- src/version.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/screen.c b/src/screen.c index abe721ed2..28fe238d2 100644 --- a/src/screen.c +++ b/src/screen.c @@ -7467,6 +7467,10 @@ retry: */ FOR_ALL_TAB_WINDOWS(tp, wp) win_free_lsize(wp); +#ifdef FEAT_AUTOCMD + if (aucmd_win != NULL) + win_free_lsize(aucmd_win); +#endif new_ScreenLines = (schar_T *)lalloc((long_u)( (Rows + 1) * Columns * sizeof(schar_T)), FALSE); @@ -7504,7 +7508,8 @@ retry: } } #ifdef FEAT_AUTOCMD - if (aucmd_win != NULL && win_alloc_lines(aucmd_win) == FAIL) + if (aucmd_win != NULL && aucmd_win->w_lines == NULL + && win_alloc_lines(aucmd_win) == FAIL) outofmem = TRUE; #endif #ifdef FEAT_WINDOWS diff --git a/src/version.c b/src/version.c index c762648b3..e16f364c0 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 243, /**/ 242, /**/ -- 2.50.1