projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b22ab99
)
; * src/image.c (free_image_cache): Add assertion. (Bug#71929)
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 12 Jul 2024 06:39:39 +0000
(09:39 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 12 Jul 2024 06:39:39 +0000
(09:39 +0300)
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index 2ee2f3245be23649bdfbabd8afb64f3922d07ae8..3d761bd48bedf59b79c59b28600ec7a60ea0420c 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-2306,6
+2306,9
@@
free_image_cache (struct frame *f)
struct image_cache *c = FRAME_IMAGE_CACHE (f);
ptrdiff_t i;
+ /* This function assumes the caller already verified that the frame's
+ image cache is non-NULL. */
+ eassert (c);
/* Cache should not be referenced by any frame when freed. */
eassert (c->refcount == 0);