mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.0883: memory leak in test 49
Problem: Memory leak in test 49. Solution: Free "sfile" from the exception.
This commit is contained in:
parent
48b1c21809
commit
5fbf3bc3f9
@ -1278,6 +1278,7 @@ do_cmdline(
|
||||
next = messages->next;
|
||||
emsg(messages->msg);
|
||||
vim_free(messages->msg);
|
||||
vim_free(messages->sfile);
|
||||
vim_free(messages);
|
||||
messages = next;
|
||||
}
|
||||
|
@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
883,
|
||||
/**/
|
||||
882,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user