summaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-04-24 20:31:50 +0000
committerJakub Jelinek <jakub@redhat.com>2006-04-24 20:31:50 +0000
commit1100b0e29213d536814d675cb3e1faff447db322 (patch)
treec6eb5ed6b41bccaaa7a9b263cac188a143a89e74 /malloc
parent48f59b8e1a60fa1e9f20bfd322214cec1be3a635 (diff)
Updated to fedora-glibc-20060424T2027
Diffstat (limited to 'malloc')
-rw-r--r--malloc/arena.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/malloc/arena.c b/malloc/arena.c
index 4d95462f26..6f0a9df8f1 100644
--- a/malloc/arena.c
+++ b/malloc/arena.c
@@ -551,8 +551,8 @@ ptmalloc_init (void)
}
s = getenv("MALLOC_CHECK_");
#endif
- if(s) {
- if(s[0]) mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0'));
+ if(s && s[0]) {
+ mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0'));
if (check_action != 0)
__malloc_check_init();
}