summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes
diff options
context:
space:
mode:
authorDaniel Martín <mardani29@yahoo.es>2022-07-10 22:36:28 +0200
committerPo Lu <luangruo@yahoo.com>2022-07-11 18:21:43 +0800
commit7ae7a95e803aa898d31673d552f254092ce202b1 (patch)
tree1803da41d924d1e7e9f0ce6010fd99cbe82a4118 /test/lisp/progmodes
parentbebf39f292f1963ab980497248a18d8035708d1a (diff)
downloademacs-7ae7a95e803aa898d31673d552f254092ce202b1.tar.gz
emacs-7ae7a95e803aa898d31673d552f254092ce202b1.tar.bz2
emacs-7ae7a95e803aa898d31673d552f254092ce202b1.zip
Fix memory leak in ns_draw_relief
* src/nsterm.h (struct ns_output): New fields to store the relief colors. * src/nsterm.m (ns_setup_relief_colors): New function to keep the relief colors as part of the ns_output structure. (ns_draw_relief): Remove static local variables. Assigning them to nil caused a memory leak of NSColor instances (bug#56462). Call ns_setup_relief_colors instead.
Diffstat (limited to 'test/lisp/progmodes')
0 files changed, 0 insertions, 0 deletions