mirror of
https://github.com/AltraMayor/f3.git
synced 2025-08-04 02:55:57 -04:00
f3probe: fix a memory leak
This memory leak is innocuous since it happens a little before f3probe exits.
This commit is contained in:
parent
add20ef7ae
commit
cc24fdf5b2
@ -431,6 +431,8 @@ static int test_device(struct args *args)
|
|||||||
report_ops("write", write_count, write_time_us);
|
report_ops("write", write_count, write_time_us);
|
||||||
report_ops("reset", reset_count, reset_time_us);
|
report_ops("reset", reset_count, reset_time_us);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free((void *)final_dev_filename);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user