Missing closing files
ryancaicse opened this issue · comments
ryancaicse commented
return -1;
should be goto quit;
? Otherwise, the file test_global.file = fopen(test_global.filename, "w");
is not closed.
odp/example/timer/odp_timer_accuracy.c
Lines 740 to 750 in 2f16a66
odp/example/timer/odp_timer_accuracy.c
Lines 720 to 728 in 2f16a66
odp/example/timer/odp_timer_accuracy.c
Lines 791 to 814 in 2f16a66
Matias Elo commented
Thanks for the report. PR #1461 fixes this issue.