Mercurial > vim
view runtime/keymap/slovak.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 | 3fc0f57ecb91 |
children |
line wrap: on
line source
let encoding = &enc if encoding == 'latin1' if has("unix") let encoding = 'iso-8859-2' else let encoding = 'cp1250' endif endif if encoding == 'utf-8' source <sfile>:p:h/slovak_utf-8.vim elseif encoding == 'cp1250' source <sfile>:p:h/slovak_cp1250.vim else source <sfile>:p:h/slovak_iso-8859-2.vim endif