]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0773: Memory leak in evalfunc.c on alloc failure v9.2.0773
authorChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 19:38:26 +0000 (19:38 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 19:39:38 +0000 (19:39 +0000)
commit9dc4e0cbddb91009927bab762eb629a137c74632
treedd773accfc192e86e6aba6fc392c2c7e94c02b27
parentd5ec9f2e2c8694f12ba16eef1ce0fe002445bd37
patch 9.2.0773: Memory leak in evalfunc.c on alloc failure

Problem:  Memory leak in evalfunc.c on alloc failure
Solution: Call dict_unref() when list_append_dict() fails before
          returning.

related: #20668

Supported by AI.

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