diff options
Diffstat (limited to 'third_party/libopenjpeg20/image.c')
-rw-r--r-- | third_party/libopenjpeg20/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/libopenjpeg20/image.c b/third_party/libopenjpeg20/image.c index e29172b2b5..bf7a701942 100644 --- a/third_party/libopenjpeg20/image.c +++ b/third_party/libopenjpeg20/image.c @@ -180,7 +180,7 @@ void opj_copy_image_header(const opj_image_t* p_image_src, for (compno = 0; compno < p_image_dest->numcomps; compno++) { opj_image_comp_t *image_comp = &(p_image_dest->comps[compno]); if (image_comp->data) { - opj_free(image_comp->data); + opj_image_data_free(image_comp->data); } } opj_free(p_image_dest->comps); |