Mercurial > vim
comparison src/terminal.c @ 20508:357dea6b9fde v8.2.0808
patch 8.2.0808: not enough testing for the terminal window
Commit: https://github.com/vim/vim/commit/98f1671cc0ab0ad6139cb9c6ce5262e7f646bc0a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 22 13:34:01 2020 +0200
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 https://github.com/vim/vim/issues/6069) Fix memory
leak.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 22 May 2020 13:45:03 +0200 |
parents | 03826c672315 |
children | eedaa9a30ab4 |
comparison
equal
deleted
inserted
replaced
20507:6dd44f4380bd | 20508:357dea6b9fde |
---|---|
3045 } | 3045 } |
3046 } | 3046 } |
3047 #endif | 3047 #endif |
3048 else | 3048 else |
3049 { | 3049 { |
3050 term->tl_title = vim_strsave(strval); | 3050 term->tl_title = strval; |
3051 strval = NULL; | 3051 strval = NULL; |
3052 } | 3052 } |
3053 VIM_CLEAR(term->tl_status_text); | 3053 VIM_CLEAR(term->tl_status_text); |
3054 if (term == curbuf->b_term) | 3054 if (term == curbuf->b_term) |
3055 maketitle(); | 3055 maketitle(); |