1
0
forked from aniani/vim

patch 8.0.0331: restoring help snapshot accesses freed memory

Problem:    Restoring help snapshot accesses freed memory. (Dominique Pelle)
Solution:   Don't restore a snapshot when the window closes.
This commit is contained in:
Bram Moolenaar
2017-02-17 12:04:56 +01:00
parent 84b2a38145
commit 343b8c0429
5 changed files with 17 additions and 2 deletions

10
src/testdir/test_help.vim Normal file
View File

@@ -0,0 +1,10 @@
" Tests for :help
func Test_help_restore_snapshot()
help
set buftype=
help
edit x
help
helpclose
endfunc