mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-12-22 04:21:08 +00:00
Report the correct size when tracing a realloc() call.
This commit is contained in:
parent
9414c8b8f1
commit
692852a349
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ calloc(size_t n, size_t size)
|
|||
t_malloc_fail = 1;
|
||||
}
|
||||
p = t_malloc(n * size);
|
||||
UTRACE_MALLOC(size, p);
|
||||
UTRACE_MALLOC(n * size, p);
|
||||
if (p == NULL) {
|
||||
if (t_malloc_fatal)
|
||||
abort();
|
||||
|
|
Loading…
Reference in a new issue