Mercurial > vim
view runtime/spell/check/main.aap @ 7368:adc796ba7dda v7.4.989
commit https://github.com/vim/vim/commit/0107f5ba87ca9427500d0fc42ec80a1f3fca9fdb
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 28 22:51:20 2015 +0100
patch 7.4.989
Problem: Leaking memory when hash_add() fails. Coverity error 99126.
Solution: When hash_add() fails free the memory.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 28 Dec 2015 23:00:04 +0100 |
parents | 6c480c4aa7b0 |
children |
line wrap: on
line source
# Aap recipe for a dummy spell file. # This is used to check if the .spl file format changes. # Use a freshly compiled Vim if it exists. @if os.path.exists('../../../src/vim'): VIM = ../../../src/vim @else: :progsearch VIM vim all: check.latin1.spl check.latin1.spl : $VIM check_aa.aff check_aa.dic check_bb.aff check_bb.dic :sys $VIM -u NONE -e -c "mkspell! check check_aa check_bb" -c q # vim: set sts=4 sw=4 :