mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fixes a memory leak in mktest.
This commit is contained in:
parent
98e1f66baa
commit
5ed1c7275f
1 changed files with 2 additions and 0 deletions
|
|
@ -364,6 +364,8 @@ void damage(const char* path, int size)
|
|||
/* LCOV_EXCL_STOP */
|
||||
}
|
||||
|
||||
free(data);
|
||||
|
||||
/* flush changes before restoring the time */
|
||||
fflush(f);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue