patch 7.4.2139
Problem: :delfunction causes illegal memory access.
Solution: Correct logic when deciding to free a function.
diff --git a/src/testdir/test_lambda.vim b/src/testdir/test_lambda.vim
index 721c47d..1df1f1c 100644
--- a/src/testdir/test_lambda.vim
+++ b/src/testdir/test_lambda.vim
@@ -267,7 +267,6 @@
call assert_equal(2, g:Count())
call assert_equal(3, g:Count2())
- " This causes memory access errors.
- " delfunc LambdaFoo
- " delfunc LambdaBar
+ delfunc LambdaFoo
+ delfunc LambdaBar
endfunc