diff options
author | Po Lu <luangruo@yahoo.com> | 2022-11-01 12:51:38 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-11-01 12:54:03 +0800 |
commit | ecdbf82cb920f0648b6398502091868bb1bf7829 (patch) | |
tree | 1cbba355aa23f5edb7e4b06ac26316601ef56487 /lisp/emacs-lisp/comp-cstr.el | |
parent | a7ded19ffce57bf8b475aeb28fbfa72e91f4d4d9 (diff) | |
download | emacs-ecdbf82cb920f0648b6398502091868bb1bf7829.tar.gz emacs-ecdbf82cb920f0648b6398502091868bb1bf7829.tar.bz2 emacs-ecdbf82cb920f0648b6398502091868bb1bf7829.zip |
Fix leaks of XImage structures in image.c
* src/image.c (image_clear_image, lookup_image): Fix coding
style.
(x_destroy_x_image): Remove unnecessary assertion. Call
XDestroyImage, since otherwise only the image data is freed.
(image_from_emacs_colors): Rename variables to make more sense.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
0 files changed, 0 insertions, 0 deletions