mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2835: Vim9: leaking memory in :cexpr
Problem: Vim9: leaking memory in :cexpr. Solution: Also free the command line copy.
This commit is contained in:
@@ -9641,6 +9641,7 @@ delete_instr(isn_T *isn)
|
||||
break;
|
||||
|
||||
case ISN_CEXPR_CORE:
|
||||
vim_free(isn->isn_arg.cexpr.cexpr_ref->cer_cmdline);
|
||||
vim_free(isn->isn_arg.cexpr.cexpr_ref);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user