Mercurial > vim
view runtime/indent/dictdconf.vim @ 22240:88927d5f275d v8.2.1669
patch 8.2.1669: Vim9: memory leak when storing a value fails
Commit: https://github.com/vim/vim/commit/b0fa5e17c587d9c71596bd10836918af713ffff6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 12 19:51:42 2020 +0200
patch 8.2.1669: Vim9: memory leak when storing a value fails
Problem: Vim9: memory leak when storing a value fails.
Solution: Free the value when not storing it.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 12 Sep 2020 20:00:04 +0200 |
parents | 1218c5353e2b |
children | 6dd88e45d47d |
line wrap: on
line source
" Vim indent file " Language: dictd(8) configuration file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-12-20 if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent setlocal nosmartindent inoremap <buffer> # X#