annotate runtime/ftplugin/tt2html.vim @ 34649:353ff4d1c039
v9.1.0209
patch 9.1.0209: leaking memory in exe_newdict() on error
Commit: https://github.com/vim/vim/commit/86eddced7e2e15e4a51af2009ffaeca8028291be
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Mar 26 18:42:52 2024 +0100
patch 9.1.0209: leaking memory in exe_newdict() on error
Problem: leaking memory in exe_newdict() on error
(LuMingYinDetect)
Solution: free allocated dict if GA_GROW_FALIS()
fixes: #14255
closes: #14281
Signed-off-by: Christian Brabandt <cb@256bit.org>
author |
Christian Brabandt <cb@256bit.org> |
date |
Tue, 26 Mar 2024 18:45:04 +0100 |
parents |
d1fe80fb35e6 |
children |
|
rev |
line source |
29150
|
1 " Vim filetype plugin file
|
5239
|
2 " Language: TT2 embedded with HTML
|
|
3 " Maintainer: vim-perl <vim-perl@googlegroups.com>
|
29150
|
4 " Homepage: https://github.com/vim-perl/vim-perl
|
|
5 " Bugs/requests: https://github.com/vim-perl/vim-perl/issues
|
|
6 " License: Vim License (see :help license)
|
|
7 " Last Change: 2018 Mar 28
|
5239
|
8
|
|
9 " Only do this when not done yet for this buffer
|
|
10 if exists("b:did_ftplugin")
|
|
11 finish
|
|
12 endif
|
|
13
|
|
14 " Just use the HTML plugin for now.
|
|
15 runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
|