Skip to content

Commit 94d655b

Browse files
committed
Update a UTRACE() size argument.
1 parent faaf458 commit 94d655b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jemalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,7 @@ imalloc(static_opts_t *sopts, dynamic_opts_t *dopts) {
19301930
malloc_write(sopts->oom_string);
19311931
abort();
19321932
}
1933-
UTRACE(NULL, size, NULL);
1933+
UTRACE(NULL, dopts->num_items * dopts->item_size, NULL);
19341934
set_errno(ENOMEM);
19351935
*dopts->result = NULL;
19361936

0 commit comments

Comments
 (0)