diff options
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c index a3ca993394..dcb4c398d4 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -844,6 +844,7 @@ ex_terminal(exarg_T *eap) // :term ++shell command if (unix_build_argv(cmd, &argv, &tofree1, &tofree2) == OK) term_start(NULL, argv, &opt, eap->forceit ? TERM_START_FORCEIT : 0); + vim_free(argv); vim_free(tofree1); vim_free(tofree2); goto theend; |