projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c538f4
)
Fix #918: geeqie crash when using JPEG XL images
author
Colin Clark
<colin.clark@cclark.uk>
Thu, 19 Aug 2021 08:40:14 +0000
(09:40 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Thu, 19 Aug 2021 08:40:14 +0000
(09:40 +0100)
https://github.com/BestImageViewer/geeqie/issues/918
Call to JxlDecoderDestroy() had been omitted.
src/image_load_jpegxl.c
patch
|
blob
|
history
diff --git
a/src/image_load_jpegxl.c
b/src/image_load_jpegxl.c
index
d315c54
..
e2b22f9
100644
(file)
--- a/
src/image_load_jpegxl.c
+++ b/
src/image_load_jpegxl.c
@@
-147,6
+147,8
@@
static uint8_t *JxlMemoryToPixels(const uint8_t *next_in, size_t size, size_t *s
break;
}
}
+
+ JxlDecoderDestroy(dec);
if (success){
return pixels;
} else {