aboutsummaryrefslogtreecommitdiff
path: root/malloc/tst-mallocstate.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-03-26 04:00:10 -0700
committerUlrich Drepper <drepper@redhat.com>2010-03-26 04:00:10 -0700
commit3e259dbb32c2456e7fc0fc751b8544fd0939a704 (patch)
treea67d4ba4ac1b1a78abcd28fbaf364c90149b6736 /malloc/tst-mallocstate.c
parent70c90289ff7e2f1ca976618bcf342d9c65c746fc (diff)
downloadglibc-3e259dbb32c2456e7fc0fc751b8544fd0939a704.zip
glibc-3e259dbb32c2456e7fc0fc751b8544fd0939a704.tar.gz
glibc-3e259dbb32c2456e7fc0fc751b8544fd0939a704.tar.bz2
Remove unwanted malloc changes, again.
Diffstat (limited to 'malloc/tst-mallocstate.c')
-rw-r--r--malloc/tst-mallocstate.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/malloc/tst-mallocstate.c b/malloc/tst-mallocstate.c
index 2a1fd46..97a1058 100644
--- a/malloc/tst-mallocstate.c
+++ b/malloc/tst-mallocstate.c
@@ -51,7 +51,6 @@ main (void)
for (i=0; i<100; ++i)
{
-printf("round %li\n", i);
save_state = malloc_get_state ();
if (save_state == NULL)
{
@@ -65,18 +64,13 @@ printf("round %li\n", i);
merror ("realloc (i*4) failed.");
free (save_state);
}
-puts("done");
p1 = realloc (p1, 40);
-puts("after realloc");
free (p2);
-puts("after free 1");
p2 = malloc (10);
-puts("after malloc");
if (p2 == NULL)
merror ("malloc (10) failed.");
free (p1);
-puts("after free 2");
return errors != 0;
}