projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #918: geeqie crash when using JPEG XL images
[geeqie.git]
/
src
/
image_load_jpegxl.c
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 {