mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.1.1591: on error garbage collection may free memory in use
Problem: On error garbage collection may free memory in use. Solution: Reset may_garbage_collect when evaluating expression mapping. Add tests. (Ozaki Kiichi, closes #4579)
This commit is contained in:
@@ -1665,7 +1665,7 @@ func Test_refcount()
|
||||
delfunc DictFunc
|
||||
endfunc
|
||||
|
||||
func! Test_funccall_garbage_collect()
|
||||
func Test_funccall_garbage_collect()
|
||||
func Func(x, ...)
|
||||
call add(a:x, a:000)
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user