mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2142: memory leak when heredoc is not terminated
Problem: Memory leak when heredoc is not terminated. Solution: Free heredoc_trimmed.
This commit is contained in:
@@ -3705,6 +3705,7 @@ errret_2:
|
||||
ret_free:
|
||||
ga_clear_strings(&argtypes);
|
||||
vim_free(skip_until);
|
||||
vim_free(heredoc_trimmed);
|
||||
vim_free(line_to_free);
|
||||
vim_free(fudi.fd_newkey);
|
||||
if (name != name_arg)
|
||||
|
Reference in New Issue
Block a user