Skip to content

Commit df5d286

Browse files
committed
1 parent b13b8c8 commit df5d286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/libjasper/mif/mif_cod.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,13 +570,13 @@ static int mif_process_cmpt(mif_hdr_t *hdr, char *buf)
570570
break;
571571
}
572572
}
573-
jas_tvparser_destroy(tvp);
574573
if (!cmpt->sampperx || !cmpt->samppery) {
575574
goto error;
576575
}
577576
if (mif_hdr_addcmpt(hdr, hdr->numcmpts, cmpt)) {
578577
goto error;
579578
}
579+
jas_tvparser_destroy(tvp);
580580
return 0;
581581

582582
error:

0 commit comments

Comments
 (0)