]> git.eshelyaron.com Git - emacs.git/commit
Prevent double frees in closing fonts provided by the Haiku font driver
authorPo Lu <luangruo@yahoo.com>
Sun, 18 May 2025 00:46:27 +0000 (08:46 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 21 May 2025 06:09:21 +0000 (08:09 +0200)
commit6a4032ff80707f6ba3a64f041736fddb0b3fd458
tree11994f59acafc526de98dca34b4130d27b40340e
parent81d4e7aeb2d5afc05c72d610eb93891c50c217ce
Prevent double frees in closing fonts provided by the Haiku font driver

* src/haikufont.c (haikufont_close): Clear INFO->metrics,
glyphs, be_font after they are released and do not attempt to
access them if NULL.  (bug#77478)

(cherry picked from commit b9b52f009289ede7967a176bc6ed069c87514794)
src/haikufont.c