Mercurial > vim
view runtime/indent/testdir/xml.in @ 20001:502a6c9b3974 v8.2.0556
patch 8.2.0556: Vim9: memory leak when finding common type
Commit: https://github.com/vim/vim/commit/c5f1ef53c24cc0c9f7b2131609e916f913634feb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 12 17:11:27 2020 +0200
patch 8.2.0556: Vim9: memory leak when finding common type
Problem: Vim9: memory leak when finding common type.
Solution: Store allocated memory in type growarray.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Apr 2020 17:15:03 +0200 |
parents | 8b334e4cb97f |
children | bdda48f01a68 |
line wrap: on
line source
<!-- vim: set ft=xml ts=8 sw=0 sts=-1 et : --> <!-- START_INDENT --> <?xml version="1.0" encoding="utf-8"?> <tag0> <tag1> <!-- comment --> <tag2> <tag3/> </tag2> <!-- text comment --> <!-- text comment --> </tag1> <!-- text comment end coment --> </tag0> <!-- END_INDENT --> <!-- START_INDENT --> <?xml version="1.0" encoding="utf-8"?> <tag0> <tag1> <!-- comment --> <tag2> <tag3/> </tag2> </tag1> </tag0> <!-- END_INDENT -->