projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a296839
)
proper fullbench's LZ4_calloc()
author
Yann Collet
<cyan@fb.com>
Mon, 9 Nov 2020 18:58:31 +0000
(10:58 -0800)
committer
Yann Collet
<cyan@fb.com>
Mon, 9 Nov 2020 18:58:31 +0000
(10:58 -0800)
tests/fullbench.c
patch
|
blob
|
history
diff --git
a/tests/fullbench.c
b/tests/fullbench.c
index
181128e
..
cb9b684
100644
(file)
--- a/
tests/fullbench.c
+++ b/
tests/fullbench.c
@@
-159,7
+159,7
@@
static size_t BMK_findMaxMem(U64 requiredMem)
* Memory management, to test LZ4_USER_MEMORY_FUNCTIONS
*********************************************************/
void* LZ4_malloc(size_t s) { return malloc(s); }
-void* LZ4_calloc(size_t n, size_t s) {
(void)n; return calloc(1
,s); }
+void* LZ4_calloc(size_t n, size_t s) {
return calloc(n
,s); }
void LZ4_free(void* p) { free(p); }