Mercurial > vim
view runtime/ftplugin/gpg.vim @ 18595:517bfb2998aa v8.1.2291
patch 8.1.2291: memory leak when executing command in a terminal
Commit: https://github.com/vim/vim/commit/adf4aa200b026dce91dd169143ee8b93e848ec8b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 10 22:36:44 2019 +0100
patch 8.1.2291: memory leak when executing command in a terminal
Problem: Memory leak when executing command in a terminal.
Solution: Free "argv". (Dominique Pelle, closes https://github.com/vim/vim/issues/5208)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Nov 2019 22:45:03 +0100 |
parents | 1218c5353e2b |
children | d23645a0aca8 |
line wrap: on
line source
" Vim filetype plugin file " Language: gpg(1) configuration file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save