Mercurial > vim
view src/gvimtutor @ 22623:672ee41a6a3b v8.2.1860
patch 8.2.1860: Vim9: memory leak when throwing empty string
Commit: https://github.com/vim/vim/commit/335e67132265b068f39f3671e5dff2aecd1bf403
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 17 22:58:21 2020 +0200
patch 8.2.1860: Vim9: memory leak when throwing empty string
Problem: Vim9: memory leak when throwing empty string.
Solution: Free the empty string.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Oct 2020 23:00:03 +0200 |
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 "$@"