commit | 98f1671cc0ab0ad6139cb9c6ce5262e7f646bc0a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri May 22 13:34:01 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 22 13:34:01 2020 +0200 |
tree | f43d4f0b35bd0ea6eedd292d2df907393f0abd7a | |
parent | 4c9243f9fb708c9010867d3cc8e928f36b58509a [diff] [blame] |
patch 8.2.0808: not enough testing for the terminal window Problem: Not enough testing for the terminal window. Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory leak.
diff --git a/src/terminal.c b/src/terminal.c index 3fcd659..0a5ccbc 100644 --- a/src/terminal.c +++ b/src/terminal.c
@@ -3047,7 +3047,7 @@ #endif else { - term->tl_title = vim_strsave(strval); + term->tl_title = strval; strval = NULL; } VIM_CLEAR(term->tl_status_text);