Skip to content

Commit

Permalink
Fix missing fclose() in tracereport
Browse files Browse the repository at this point in the history
  • Loading branch information
salcock committed Jun 19, 2024
1 parent 935ede8 commit 750153e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/tracereport/misc_report.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,5 @@ void misc_report(void)
fprintf(out, "Average packet rate: %.02f packets/sec\n",
packets / (endtime - starttime));
fprintf(out, "Uncompressed trace size: %" PRIu64 "\n", capture_bytes);
fclose(out);
}

0 comments on commit 750153e

Please sign in to comment.