Mercurial > vim
view runtime/compiler/erlang.vim @ 15267:762fccd84b7c v8.1.0642
patch 8.1.0642: swapinfo() leaks memory
commit https://github.com/vim/vim/commit/e6fdf79980c0f2856700d4f46de700293f477429
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 26 22:57:42 2018 +0100
patch 8.1.0642: swapinfo() leaks memory
Problem: swapinfo() leaks memory.
Solution: Avoid allocating the strings twice.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Dec 2018 23:00:06 +0100 |
parents | 8dcf3ea92b63 |
children | 2704c4e3e20a |
line wrap: on
line source
" Vim compiler file " Compiler: Erlang " Maintainer: Dmitry Vasiliev <dima at hlabs dot org> " Last Change: 2012-02-13 if exists("current_compiler") finish endif let current_compiler = "erlang" CompilerSet makeprg=erlc\ -Wall\ % CompilerSet errorformat=%f:%l:\ %m