view runtime/compiler/bdf.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 2c3f939d46bf
line wrap: on
line source

" Vim compiler file
" Compiler:             BDF to PCF Conversion
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2006-04-19

if exists("current_compiler")
  finish
endif
let current_compiler = "bdf"

let s:cpo_save = &cpo
set cpo-=C

setlocal makeprg=bdftopcf\ $*

setlocal errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m,
      \%-Z%p^,
      \%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt,
      \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save