diff options
author | Daniel MartÃn <mardani29@yahoo.es> | 2022-07-10 22:36:28 +0200 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-07-11 18:21:43 +0800 |
commit | 7ae7a95e803aa898d31673d552f254092ce202b1 (patch) | |
tree | 1803da41d924d1e7e9f0ce6010fd99cbe82a4118 /test/lisp/progmodes | |
parent | bebf39f292f1963ab980497248a18d8035708d1a (diff) | |
download | emacs-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