]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0778: Memory Leak in compile_dict() on alloc failure v9.2.0778
authorChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 19:58:13 +0000 (19:58 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 19:58:13 +0000 (19:58 +0000)
commit8bd30e8cb8507ed51f8a15470d601ebb284fe13b
treeec82449d6172f848d70adc536ea2eaaafc2a4116
parente43064830d1b69fe1bac1653e070b13b1c2fef00
patch 9.2.0778: Memory Leak in compile_dict() on alloc failure

Problem:  Memory Leak in compile_dict() on allocation failure (Ao Xijie)
Solution: Use goto failret consistently

related: #20668

Supported by AI.

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/version.c
src/vim9expr.c