Mercurial > vim
view runtime/syntax/template.vim @ 18201:2ec4ed3f5e12 v8.1.2095
patch 8.1.2095: leaking memory when getting item from dict
Commit: https://github.com/vim/vim/commit/a893194d91a2942d4d54085d746ed137a9251b69
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 28 17:25:10 2019 +0200
patch 8.1.2095: leaking memory when getting item from dict
Problem: Leaking memory when getting item from dict.
Solution: Also free the key when not evaluating.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Sep 2019 17:30:03 +0200 |
parents | 1eaf34420bb3 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim syntax file " Language: Generic template " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2019 May 06 " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") finish endif " Known template types are very similar to HTML, E.g. golang and "Xfire User " Interface Template" " If you know how to recognize a more specific type for *.tmpl suggest a " change to runtime/scripts.vim. runtime! syntax/html.vim