Mercurial > vim
view ci/if_ver-cmd.vim @ 24737:e97a14604f65 v8.2.2907
patch 8.2.2907: memory leak when running out of memory
Commit: https://github.com/vim/vim/commit/28cf44f761a7bf261bcd0760a1c5f61070f69595
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Sat May 29 22:34:19 2021 +0200
patch 8.2.2907: memory leak when running out of memory
Problem: Memory leak when running out of memory.
Solution: Free the allocated memory. (Dominique Pell?, closes https://github.com/vim/vim/issues/8284)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 May 2021 22:45:02 +0200 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)