Closing output file pointer of telltoc --read_and_print. Coverity CID 21813.
This commit is contained in:
parent
6cfc548d0f
commit
7301569d0e
@ -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