mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-06 10:26:18 +03:00
Fix a Valgrind regression in calloc().
This regression was caused by 3ef51d7f73
(Optimize the fast paths of calloc() and [m,d,sd]allocx().).
This commit is contained in:
parent
05a9e4ac65
commit
9de0094e6e
1 changed files with 1 additions and 1 deletions
|
|
@ -1739,7 +1739,7 @@ je_calloc(size_t num, size_t size)
|
|||
ret = ialloc_body(num_size, true, &tsdn, &usize, true);
|
||||
ialloc_post_check(ret, tsdn, usize, "calloc", true, true);
|
||||
UTRACE(0, num_size, ret);
|
||||
JEMALLOC_VALGRIND_MALLOC(ret != NULL, tsdn, ret, usize, false);
|
||||
JEMALLOC_VALGRIND_MALLOC(ret != NULL, tsdn, ret, usize, true);
|
||||
}
|
||||
|
||||
return (ret);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue