Closing output file pointer of telltoc --read_and_print. Coverity CID 21813.
This commit is contained in:
parent
ead8735d2e
commit
142e138543
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user