]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0779: Memory leak in type_name_func() on alloc failure v9.2.0779
authorChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 20:01:50 +0000 (20:01 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 20:04:08 +0000 (20:04 +0000)
commiteeeed2b294da499e63e331f40302ffe9dbf96baa
tree30effaf7f4ae28e1d28ec1f6aca8b68818fad919
parent8bd30e8cb8507ed51f8a15470d601ebb284fe13b
patch 9.2.0779: Memory leak in type_name_func() on alloc failure

Problem:  Memory leak in type_name_func() on alloc failure (Ao Xijie)
Solution: Free ret_free variable on failure

related: #20668

Supported by AI.

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