mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-15 21:27:18 +03:00
No need to pass usize to prof_tctx_set()
This commit is contained in:
parent
1b1e76acfe
commit
5e0b090992
3 changed files with 8 additions and 9 deletions
|
|
@ -182,7 +182,7 @@ prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated) {
|
|||
void
|
||||
prof_malloc_sample_object(tsd_t *tsd, const void *ptr, size_t usize,
|
||||
prof_tctx_t *tctx) {
|
||||
prof_tctx_set(tsd, ptr, usize, NULL, tctx);
|
||||
prof_tctx_set(tsd, ptr, NULL, tctx);
|
||||
|
||||
/* Get the current time and set this in the extent_t. We'll read this
|
||||
* when free() is called. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue