summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-22 11:25:19 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-22 11:25:19 +0100
commitfb0cf2357e0c85bbfd9f9178705ad8d77b6b3b4e (patch)
tree25307998711d15645e29dac9ba83815a31f1fb4d /src/ex_cmds.c
parent9c50eeb40117413bf59a9da904c8d0921ed0a6e6 (diff)
patch 9.0.0817v9.0.0817v9.0.0816
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 676ab704b3..44333d514c 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -929,8 +929,6 @@ do_bang(
STRCAT(t, newcmd);
if (ins_prevcmd)
STRCAT(t, prevcmd);
- else
- vim_free(t);
p = t + STRLEN(t);
STRCAT(t, trailarg);
vim_free(newcmd);