MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ZSTD_customFree

Function ZSTD_customFree

freebsd/contrib/zstd/lib/common/zstd_common.c:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void ZSTD_customFree(void* ptr, ZSTD_customMem customMem)
76{
77 if (ptr!=NULL) {
78 if (customMem.customFree)
79 customMem.customFree(customMem.opaque, ptr);
80 else
81 ZSTD_free(ptr);
82 }
83}

Callers 15

ZSTD_freeDCtxFunction · 0.85
ZSTD_decompressStreamFunction · 0.85
ZSTD_freeDDictFunction · 0.85
POOL_freeFunction · 0.85
POOL_resize_internalFunction · 0.85
ZSTDMT_createBufferPoolFunction · 0.85
ZSTDMT_freeBufferPoolFunction · 0.85
ZSTDMT_getBufferFunction · 0.85
ZSTDMT_releaseBufferFunction · 0.85
ZSTDMT_freeCCtxPoolFunction · 0.85
ZSTDMT_createCCtxPoolFunction · 0.85
ZSTDMT_serialState_resetFunction · 0.85

Calls 1

ZSTD_freeFunction · 0.85

Tested by

no test coverage detected