mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-15 17:36:21 +03:00
Fix szind computation in profiling
This commit is contained in:
parent
866231fc61
commit
202f01d4f8
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ prof_malloc_sample_object(tsd_t *tsd, const void *ptr, size_t size,
|
|||
ptr);
|
||||
prof_info_set(tsd, edata, tctx);
|
||||
|
||||
szind_t szind = sz_size2index(size);
|
||||
szind_t szind = sz_size2index(usize);
|
||||
|
||||
malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock);
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue