default custom allocation functions moved to zstd_internal.h

This commit is contained in:
inikep
2016-06-02 15:11:39 +02:00
parent 2866951558
commit c4807f4d2f
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -76,8 +76,8 @@ const char* ZBUFF_getErrorName(size_t errorCode) { return ERR_getErrorName(error
void* ZSTD_defaultAllocFunction(void* opaque, size_t size)
{
(void)opaque;
void* address = malloc(size);
(void)opaque;
/* DISPLAYLEVEL(4, "alloc %p, %d opaque=%d \n", address, (int)size, (int)opaque); */
return address;
}