]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0210: Motif: leaking memory when mui_mch_dialog() fails v9.1.0210
authorChristian Brabandt <cb@256bit.org>
Tue, 26 Mar 2024 17:44:48 +0000 (18:44 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 26 Mar 2024 17:44:48 +0000 (18:44 +0100)
commit9ccc2972373c8310c20ae7621b9c634d0dc43e26
tree384ebc470d2cb15b8f081ed3c8e5661214650feb
parent86eddced7e2e15e4a51af2009ffaeca8028291be
patch 9.1.0210: Motif: leaking memory when mui_mch_dialog() fails

Problem:  Motif: leaking memory when mui_mch_dialog() fails
          (LuMingYinDetect)
Solution: When allocating the label using the XmStringCreateLtoR()
          function fails, before returning also free the allocated
          buttons pointer.

fixes: #14247
closes: #14280

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