mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
Initialize prof_leak during prof init.
Otherwise, prof_leak may get set after prof_leak_error, and disagree with each other.
This commit is contained in:
@@ -1585,7 +1585,7 @@ malloc_conf_init_helper(sc_data_t *sc_data, unsigned bin_shard_sizes[SC_NBINS],
|
||||
"prof_leak_error is"
|
||||
" not allowed"
|
||||
" without"
|
||||
" prof_leak_final",
|
||||
" prof_final",
|
||||
k, klen, v, vlen);
|
||||
} else {
|
||||
opt_prof_leak = true;
|
||||
|
||||
Reference in New Issue
Block a user