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

1.4.2
Thomas Schmitt 7 years ago
parent ead8735d2e
commit 142e138543
  1. 2
      test/telltoc.c

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

Loading…
Cancel
Save