mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user