diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-18 14:28:00 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-18 14:30:01 +0800 |
commit | a1e0f6c07fc575dfac4cd4c0d8c395b8d3f1a4f4 (patch) | |
tree | 90ea67d7a6d9089e474dab154420e95cce729c73 | |
parent | 187ba3efce4acc197ce6cc9559a905eec97bacbe (diff) | |
download | rneovim-a1e0f6c07fc575dfac4cd4c0d8c395b8d3f1a4f4.tar.gz rneovim-a1e0f6c07fc575dfac4cd4c0d8c395b8d3f1a4f4.tar.bz2 rneovim-a1e0f6c07fc575dfac4cd4c0d8c395b8d3f1a4f4.zip |
vim-patch:9.0.0817
https://github.com/vim/vim/commit/fb0cf2357e0c85bbfd9f9178705ad8d77b6b3b4e
Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index f7447cda1b..db9cf94cba 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -988,8 +988,6 @@ void do_bang(int addr_count, exarg_T *eap, bool forceit, bool do_in, bool do_out } if (ins_prevcmd) { STRCAT(t, prevcmd); - } else { - xfree(t); } p = t + strlen(t); STRCAT(t, trailarg); |