projects
/
platform
/
upstream
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update.
[platform/upstream/glibc.git]
/
malloc
/
malloc.c
diff --git
a/malloc/malloc.c
b/malloc/malloc.c
index
0586a0c
..
8b862fe
100644
(file)
--- a/
malloc/malloc.c
+++ b/
malloc/malloc.c
@@
-5090,6
+5090,8
@@
void mSTATs()
long stat_lock_direct = 0, stat_lock_loop = 0, stat_lock_wait = 0;
#endif
+ if(__malloc_initialized < 0)
+ ptmalloc_init ();
for (i=0, ar_ptr = &main_arena;; i++) {
(void)mutex_lock(&ar_ptr->mutex);
mi = mALLINFo(ar_ptr);