[rtems commit] fstests/fsrdwr: Free allocated memory
Sebastian Huber
sebh at rtems.org
Wed Jan 30 16:17:09 UTC 2013
Module: rtems
Branch: master
Commit: 80e37434ac95f3bc1fa09bd4db4ec2f79142a74b
Changeset: http://git.rtems.org/rtems/commit/?id=80e37434ac95f3bc1fa09bd4db4ec2f79142a74b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jan 30 17:21:26 2013 +0100
fstests/fsrdwr: Free allocated memory
---
testsuites/fstests/fsrdwr/init.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/testsuites/fstests/fsrdwr/init.c b/testsuites/fstests/fsrdwr/init.c
index 1ab9ccb..2bdaeaa 100644
--- a/testsuites/fstests/fsrdwr/init.c
+++ b/testsuites/fstests/fsrdwr/init.c
@@ -291,6 +291,8 @@ truncate_test03 (void)
*/
status = chdir ("..");
rtems_test_assert (status == 0);
+
+ free(readbuf);
}
static void
@@ -518,6 +520,8 @@ lseek_test (void)
rtems_test_assert (status == 0);
test_case_leave ();
+
+ free(readbuf);
}
static void
More information about the vc
mailing list