forked from Imagelibrary/rtems
fstests/fsrdwr: Free allocated memory
This commit is contained in:
@@ -291,6 +291,8 @@ truncate_test03 (void)
|
|||||||
*/
|
*/
|
||||||
status = chdir ("..");
|
status = chdir ("..");
|
||||||
rtems_test_assert (status == 0);
|
rtems_test_assert (status == 0);
|
||||||
|
|
||||||
|
free(readbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -518,6 +520,8 @@ lseek_test (void)
|
|||||||
rtems_test_assert (status == 0);
|
rtems_test_assert (status == 0);
|
||||||
|
|
||||||
test_case_leave ();
|
test_case_leave ();
|
||||||
|
|
||||||
|
free(readbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user