summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-22 13:34:01 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-22 13:34:01 +0200
commit98f1671cc0ab0ad6139cb9c6ce5262e7f646bc0a (patch)
treef43d4f0b35bd0ea6eedd292d2df907393f0abd7a /src/terminal.c
parent4c9243f9fb708c9010867d3cc8e928f36b58509a (diff)
downloadvim-git-98f1671cc0ab0ad6139cb9c6ce5262e7f646bc0a.tar.gz
patch 8.2.0808: not enough testing for the terminal windowv8.2.0808
Problem: Not enough testing for the terminal window. Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory leak.
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 3fcd659fc..0a5ccbc59 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -3047,7 +3047,7 @@ handle_settermprop(
#endif
else
{
- term->tl_title = vim_strsave(strval);
+ term->tl_title = strval;
strval = NULL;
}
VIM_CLEAR(term->tl_status_text);