src/bin/jp3d/convert.c: add missing fclose() in error code path (#1018)

This commit is contained in:
Even Rouault 2017-09-19 12:48:12 +02:00
parent fdef69b43c
commit ce199f42e7
1 changed files with 1 additions and 0 deletions

View File

@ -316,6 +316,7 @@ opj_volume_t* pgxtovolume(char *relpath, opj_cparameters_t *parameters)
cmptparm.bigendian = 0;
} else {
fprintf(stdout, "[ERROR] Bad pgx header, please check input file\n");
fclose(f);
return NULL;
}