kwo pushed a commit to branch master. http://git.enlightenment.org/legacy/imlib2.git/commit/?id=9f479126f939f1bd22c90d41407e5c00b8982281
commit 9f479126f939f1bd22c90d41407e5c00b8982281 Author: Kim Woelders <[email protected]> Date: Fri Jan 3 14:35:40 2020 +0100 image.c: Remove redundant pixmap unref Already done in __imlib_ConsumeImage(). --- src/lib/image.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/lib/image.c b/src/lib/image.c index 2f33d42..2c1a61a 100644 --- a/src/lib/image.c +++ b/src/lib/image.c @@ -203,18 +203,6 @@ __imlib_CurrentCacheSize(void) im = im->next; __imlib_RemoveImageFromCache(tmp_im); __imlib_ConsumeImage(tmp_im); -#ifdef BUILD_X11 - ip = pixmaps; - while (ip) - { - if (ip->image == tmp_im) - { - ip->image = NULL; - ip->dirty = 1; - } - ip = ip->next; - } -#endif continue; } /* it's valid but has 0 ref's - append to cache size count */ @@ -223,6 +211,7 @@ __imlib_CurrentCacheSize(void) } im = im->next; } + #ifdef BUILD_X11 /* go through the pixmaps */ ip = pixmaps; --
