summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloc03
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-05 21:14:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-05 21:14:39 +0000
commit15bf747a44be4c16a1cb52eb4dcaf2b39e422804 (patch)
tree7710d396397d43768e82126140f6fea0f5c62923 /testsuites/libtests/malloc03
parent2010-07-05 Bharath Suri <bharath.s.jois@gmail.com> (diff)
downloadrtems-15bf747a44be4c16a1cb52eb4dcaf2b39e422804.tar.bz2
2010-07-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, malloc03/init.c: Add test for PPPDDISC. * termios06/.cvsignore, termios06/Makefile.am, termios06/init.c, termios06/termios06.doc, termios06/termios06.scn, termios06/test_pppd.c: New files.
Diffstat (limited to 'testsuites/libtests/malloc03')
-rw-r--r--testsuites/libtests/malloc03/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuites/libtests/malloc03/init.c b/testsuites/libtests/malloc03/init.c
index 5779ed99a0..c4547a52b1 100644
--- a/testsuites/libtests/malloc03/init.c
+++ b/testsuites/libtests/malloc03/init.c
@@ -17,11 +17,10 @@ rtems_task Init(
)
{
void *p1;
- unsigned int val = 999;
puts( "\n\n*** TEST MALLOC03 ***" );
- p1 = &val;
+ p1 = __builtin_frame_address(0);
printf("Attempt to free stack memory\n");
free( p1 );