]> granicus.if.org Git - vim/commit
patch 8.2.4716: memory allocation failure not tested when defining a function v8.2.4716
authorYegappan Lakshmanan <yegappan@yahoo.com>
Sat, 9 Apr 2022 10:09:07 +0000 (11:09 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 9 Apr 2022 10:09:07 +0000 (11:09 +0100)
commit7c7e19cf50d76568e2637ad66b095044a41c6a82
tree39534337197e3f8f2d713910050a977877effe33
parent5e1792270a072a96157e5d5e1d6a97414e26d0bf
patch 8.2.4716: memory allocation failure not tested when defining a function

Problem:    Memory allocation failure not tested when defining a function.
Solution:   Add a test. (Yegappan Lakshmanan, closes #10127)
src/alloc.c
src/alloc.h
src/proto/alloc.pro
src/testdir/test_user_func.vim
src/testdir/test_vim9_func.vim
src/userfunc.c
src/version.c