comparison src/ex_getln.c @ 19685:d64f403289db v8.2.0399

patch 8.2.0399: various memory leaks Commit: https://github.com/vim/vim/commit/292b90d4fa11022661f449dd3efb73d5ac737313 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 18 15:23:16 2020 +0100 patch 8.2.0399: various memory leaks Problem: Various memory leaks. Solution: Avoid the leaks. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/5803)
author Bram Moolenaar <Bram@vim.org>
date Wed, 18 Mar 2020 15:30:04 +0100
parents 5512aa74cb62
children 8514e8b7e661
comparison
equal deleted inserted replaced
19684:0b7b0650000a 19685:d64f403289db
4186 4186
4187 // Create a window for the command-line buffer. 4187 // Create a window for the command-line buffer.
4188 if (win_split((int)p_cwh, WSP_BOT) == FAIL) 4188 if (win_split((int)p_cwh, WSP_BOT) == FAIL)
4189 { 4189 {
4190 beep_flush(); 4190 beep_flush();
4191 ga_clear(&winsizes);
4191 return K_IGNORE; 4192 return K_IGNORE;
4192 } 4193 }
4193 cmdwin_type = get_cmdline_type(); 4194 cmdwin_type = get_cmdline_type();
4194 4195
4195 // Create the command-line buffer empty. 4196 // Create the command-line buffer empty.