• R/O
  • SSH

vim: コミット

Mirror of the Vim source from https://github.com/vim/vim


コミットメタ情報

リビジョンb3f956c2ed3cef630adf9861ea7009391aa1787e (tree)
日時2020-03-29 06:45:03
作者Bram Moolenaar <Bram@vim....>
コミッターBram Moolenaar

ログメッセージ

patch 8.2.0472: terminal highlight name is set twice, leaking memory

Commit: https://github.com/vim/vim/commit/360bdbda817920657a2ec8bf329c96a749dd7224
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 28 22:37:14 2020 +0100

patch 8.2.0472: terminal highlight name is set twice, leaking memory
Problem: Terminal highlight name is set twice, leaking memory.
Solution: Delete one.

変更サマリ

差分

diff -r 3d689590024d -r b3f956c2ed3c src/terminal.c
--- a/src/terminal.c Sat Mar 28 22:15:04 2020 +0100
+++ b/src/terminal.c Sat Mar 28 22:45:03 2020 +0100
@@ -6925,8 +6925,6 @@
69256925 jobopt_T *orig_opt UNUSED)
69266926 {
69276927 term->tl_arg0_cmd = NULL;
6928- if (opt->jo_set2 & JO2_TERM_HIGHLIGHT)
6929- term->tl_highlight_name = vim_strsave(opt->jo_term_highlight);
69306928
69316929 if (create_vterm(term, term->tl_rows, term->tl_cols) == FAIL)
69326930 return FAIL;
diff -r 3d689590024d -r b3f956c2ed3c src/version.c
--- a/src/version.c Sat Mar 28 22:15:04 2020 +0100
+++ b/src/version.c Sat Mar 28 22:45:03 2020 +0100
@@ -739,6 +739,8 @@
739739 static int included_patches[] =
740740 { /* Add new patch number below this line */
741741 /**/
742+ 472,
743+/**/
742744 471,
743745 /**/
744746 470,
旧リポジトリブラウザで表示