Mercurial > vim
view src/gvimtutor @ 22952:629472e2e4c5 v8.2.2023
patch 8.2.2023: Vim: memory leak when :execute fails
Commit: https://github.com/vim/vim/commit/c71ee829efa948eefec3b8f0dbacf172fc1a4992
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 21 11:45:50 2020 +0100
patch 8.2.2023: Vim: memory leak when :execute fails
Problem: Vim: memory leak when :execute fails.
Solution: Clear the growarray.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Nov 2020 12:00:04 +0100 |
parents | 4a317df16962 |
children | d4faa2c5211b |
line wrap: on
line source
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"