Mercurial > vim
view src/testdir/unix.vim @ 24928:cf4bc18a3931 v8.2.3001
patch 8.2.3001: Vim9: memory leak when compilation fails
Commit: https://github.com/vim/vim/commit/caf1a2f296499bdcf030aca545a04da65ac210a1
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 15 11:27:21 2021 +0200
patch 8.2.3001: Vim9: memory leak when compilation fails
Problem: Vim9: memory leak when compilation fails.
Solution: Free the list of variable names.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 15 Jun 2021 11:30:03 +0200 |
parents | bfd636b8e259 |
children | dbec60b8c253 |
line wrap: on
line source
" Settings for test script execution " Always use "sh", don't use the value of "$SHELL". set shell=sh " Only when the +eval feature is present. if 1 " While some tests overwrite $HOME to prevent them from polluting user files, " we need to remember the original value so that we can tell external systems " where to ask about their own user settings. let g:tester_HOME = $HOME endif source setup.vim