]> git.eshelyaron.com Git - emacs.git/commit
Fix color leak
authorPo Lu <luangruo@yahoo.com>
Mon, 7 Mar 2022 11:53:52 +0000 (19:53 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 7 Mar 2022 11:53:52 +0000 (19:53 +0800)
commitf2b58db280e28b1ec1607520ef706482e14f6a57
treecd8f9184d18f12da1d4444440187bf745e32cc38
parent8b66adfe065e0f21ec99c88e3cbb1cb16a94c6cd
Fix color leak

* src/xterm.c (x_alloc_nearest_color_1): Don't allocate colors
multiple times when searching for a closest match.
src/xterm.c