Fixes a memory leak in mktest.

This commit is contained in:
Andrea Mazzoleni 2014-07-03 21:51:16 +02:00
parent 98e1f66baa
commit 5ed1c7275f

View file

@ -364,6 +364,8 @@ void damage(const char* path, int size)
/* LCOV_EXCL_STOP */
}
free(data);
/* flush changes before restoring the time */
fflush(f);