]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0209: leaking memory in exe_newdict() on error v9.1.0209
authorChristian Brabandt <cb@256bit.org>
Tue, 26 Mar 2024 17:42:52 +0000 (18:42 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 26 Mar 2024 17:42:52 +0000 (18:42 +0100)
commit86eddced7e2e15e4a51af2009ffaeca8028291be
tree54803065ad4c3c5c90294688ab1fa51cfbf9683d
parent65e580bd5610465bb6b9c1a546b7a8d00c76aa47
patch 9.1.0209: leaking memory in exe_newdict() on error

Problem:  leaking memory in exe_newdict() on error
          (LuMingYinDetect)
Solution: free allocated dict if GA_GROW_FALIS()

fixes: #14255
closes: #14281

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