diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/jp2/convert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/jp2/convert.c b/src/bin/jp2/convert.c index 6997def9..0b1291de 100644 --- a/src/bin/jp2/convert.c +++ b/src/bin/jp2/convert.c @@ -2856,6 +2856,7 @@ static opj_image_t* rawtoimage_common(const char *filename, opj_cparameters_t *p } /* create the image */ image = opj_image_create(numcomps, &cmptparm[0], color_space); + free(cmptparm); if(!image) { fclose(f); return NULL; |
