src/bin/jp3d/convert.c: add missing fclose() in error code path (#1018)
This commit is contained in:
parent
fdef69b43c
commit
ce199f42e7
|
@ -316,6 +316,7 @@ opj_volume_t* pgxtovolume(char *relpath, opj_cparameters_t *parameters)
|
||||||
cmptparm.bigendian = 0;
|
cmptparm.bigendian = 0;
|
||||||
} else {
|
} else {
|
||||||
fprintf(stdout, "[ERROR] Bad pgx header, please check input file\n");
|
fprintf(stdout, "[ERROR] Bad pgx header, please check input file\n");
|
||||||
|
fclose(f);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue