summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-18 15:23:16 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-18 15:23:16 +0100
commit292b90d4fa11022661f449dd3efb73d5ac737313 (patch)
tree843721ec1450241506c3ac1995bc2c32437caaf8 /src/ex_getln.c
parenta21df1db3ca619afdcb47931af042508a6bbc8e5 (diff)
patch 8.2.0399: various memory leaksv8.2.0399
Problem: Various memory leaks. Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index ca164cd2f1..7193a2ac6b 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -4188,6 +4188,7 @@ open_cmdwin(void)
if (win_split((int)p_cwh, WSP_BOT) == FAIL)
{
beep_flush();
+ ga_clear(&winsizes);
return K_IGNORE;
}
cmdwin_type = get_cmdline_type();