projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80d8221
)
(_int_malloc): Fix early exit test.
author
drepper
<drepper>
Mon, 21 Aug 2006 14:28:58 +0000
(14:28 +0000)
committer
drepper
<drepper>
Mon, 21 Aug 2006 14:28:58 +0000
(14:28 +0000)
malloc/malloc.c
patch
|
blob
|
history
diff --git
a/malloc/malloc.c
b/malloc/malloc.c
index
3f4ddcd
..
b1f813e
100644
(file)
--- a/
malloc/malloc.c
+++ b/
malloc/malloc.c
@@
-4147,17
+4147,17
@@
_int_malloc(mstate av, size_t bytes)
}
}
- if (size >= nb)
- any_larger = true;
-#define MAX_ITERS 10000
- if (++iters == MAX_ITERS)
- break;
-
mark_bin(av, victim_index);
victim->bk = bck;
victim->fd = fwd;
fwd->bk = victim;
bck->fd = victim;
+
+ if (size >= nb)
+ any_larger = true;
+#define MAX_ITERS 10000
+ if (++iters >= MAX_ITERS)
+ break;
}
/*