diff options
author | Jason Evans <je@fb.com> | 2014-04-15 21:33:50 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2014-04-15 21:33:50 (GMT) |
commit | ecd3e59ca351d7111ec72a327fe0c009f2aa69a0 (patch) | |
tree | 5deff3bbd75804e9a2b079b7c9b6b2016e226c94 /src/quarantine.c | |
parent | a2c719b37445ce9083b6fc5084436dc37ceb7f75 (diff) | |
download | jemalloc-ecd3e59ca351d7111ec72a327fe0c009f2aa69a0.zip jemalloc-ecd3e59ca351d7111ec72a327fe0c009f2aa69a0.tar.gz jemalloc-ecd3e59ca351d7111ec72a327fe0c009f2aa69a0.tar.bz2 |
Remove the "opt.valgrind" mallctl.
Remove the "opt.valgrind" mallctl because it is unnecessary -- jemalloc
automatically detects whether it is running inside valgrind.
Diffstat (limited to 'src/quarantine.c')
-rw-r--r-- | src/quarantine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quarantine.c b/src/quarantine.c index 5431511..3b87442 100644 --- a/src/quarantine.c +++ b/src/quarantine.c @@ -146,7 +146,7 @@ quarantine(void *ptr) * Only do redzone validation if Valgrind isn't in * operation. */ - if ((config_valgrind == false || opt_valgrind == false) + if ((config_valgrind == false || in_valgrind == false) && usize <= SMALL_MAXCLASS) arena_quarantine_junk_small(ptr, usize); else |