Closing output file pointer of telltoc --read_and_print. Coverity CID 21813.

This commit is contained in:
Thomas Schmitt 2015-10-24 10:03:14 +00:00
parent 6cfc548d0f
commit 7301569d0e

View File

@ -774,6 +774,8 @@ print_result:;
start_sector, sector_count, start_sector, sector_count,
(int) (total_count / (off_t) sector_size)); (int) (total_count / (off_t) sector_size));
if (raw_fp != NULL)
fclose(raw_fp);
return ret; return ret;
} }