Fixed wrong destructors called in openjpeg.c

Fixed bug in j2k_decode_jpt_stream
This commit is contained in:
Francois-Olivier Devaux
2007-08-28 10:13:58 +00:00
parent c101f8049c
commit d07fa5d9d0
3 changed files with 7 additions and 2 deletions

View File

@@ -1816,6 +1816,7 @@ opj_image_t* j2k_decode_jpt_stream(opj_j2k_t *j2k, opj_cio_t *cio) {
/* create an empty image */
image = opj_image_create0();
j2k->image = image;
j2k->state = J2K_STATE_MHSOC;