test/fsync: clean up t_malloc() before return

Trivial memory leak fix.

This commit also adds a new macro helper `ARRAY_SIZE`. Defined as:
  #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))

Signed-off-by: Ammar Faizi <[email protected]>
2 files changed