From a1e0f6c07fc575dfac4cd4c0d8c395b8d3f1a4f4 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 18 Apr 2023 14:28:00 +0800 Subject: [PATCH] vim-patch:9.0.0817 https://github.com/vim/vim/commit/fb0cf2357e0c85bbfd9f9178705ad8d77b6b3b4e Co-authored-by: Bram Moolenaar --- src/nvim/ex_cmds.c | 2 -- 1 file changed, 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);