summaryrefslogtreecommitdiff
path: root/src/bin/jp2
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2015-09-13 14:42:56 +0200
committermayeut <mayeut@users.noreply.github.com>2015-09-13 14:42:56 +0200
commit49cbc11a194d41876da05481b05989248b35f8f6 (patch)
tree8d1b0feb03757e4d2dcabae7e4a77fc09c5e415a /src/bin/jp2
parente3579b6c1dde748399d67146bfe09383f6f766cb (diff)
Correct leak in color_cielab_to_rgb
Diffstat (limited to 'src/bin/jp2')
-rw-r--r--src/bin/jp2/opj_decompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/jp2/opj_decompress.c b/src/bin/jp2/opj_decompress.c
index ac17b69d..da566ac2 100644
--- a/src/bin/jp2/opj_decompress.c
+++ b/src/bin/jp2/opj_decompress.c
@@ -1371,7 +1371,7 @@ int main(int argc, char **argv)
if(image->icc_profile_len)
color_apply_icc_profile(image);
else
- color_apply_conversion(image);
+ color_cielab_to_rgb(image);
#endif
free(image->icc_profile_buf);
image->icc_profile_buf = NULL; image->icc_profile_len = 0;