Mercurial > vim
comparison src/proto/term.pro @ 26177:13e09dc59f0f v8.2.3620
patch 8.2.3620: memory leak reported in libtlib
Commit: https://github.com/vim/vim/commit/b3a29558eedac9979f5276ae914934b7b7cbe06b
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 19 11:28:04 2021 +0000
patch 8.2.3620: memory leak reported in libtlib
Problem: Memory leak reported in libtlib.
Solution: Call del_curterm() when cleaning up memory. Rename term.h to
termdefs.h to avoid a name clash.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 19 Nov 2021 12:30:05 +0100 |
parents | 92c424550367 |
children | d26bab4f6aca |
comparison
equal
deleted
inserted
replaced
26176:16e7f5c5ad54 | 26177:13e09dc59f0f |
---|---|
3 guicolor_T termgui_mch_get_rgb(guicolor_T color); | 3 guicolor_T termgui_mch_get_rgb(guicolor_T color); |
4 void init_term_props(int all); | 4 void init_term_props(int all); |
5 void f_terminalprops(typval_T *argvars, typval_T *rettv); | 5 void f_terminalprops(typval_T *argvars, typval_T *rettv); |
6 void set_color_count(int nr); | 6 void set_color_count(int nr); |
7 int set_termname(char_u *term); | 7 int set_termname(char_u *term); |
8 void free_cur_term(void); | |
8 void getlinecol(long *cp, long *rp); | 9 void getlinecol(long *cp, long *rp); |
9 int add_termcap_entry(char_u *name, int force); | 10 int add_termcap_entry(char_u *name, int force); |
10 int term_is_8bit(char_u *name); | 11 int term_is_8bit(char_u *name); |
11 int term_is_gui(char_u *name); | 12 int term_is_gui(char_u *name); |
12 char_u *tltoa(unsigned long i); | 13 char_u *tltoa(unsigned long i); |