This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2.

View the commit online.

commit f1fcc4bfed9b53d36e9f30f14999d92cca8b80b6
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Sun Jun 25 10:20:35 2023 +0200

    image: Fix missing munmap() when using imlib_load_image_fd()
---
 src/lib/image.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/image.c b/src/lib/image.c
index ef0f396..9e4ad7c 100644
--- a/src/lib/image.c
+++ b/src/lib/image.c
@@ -667,8 +667,7 @@ __imlib_LoadImage(const char *file, ImlibLoadArgs * ila)
 
    im->lc = NULL;
 
-   if (!ila->fp)
-      __imlib_FileContextClose(im->fi);
+   __imlib_FileContextClose(im->fi);
 
    if (loader_ret <= LOAD_FAIL)
      {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to