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

Function ZSTD_free

freebsd/contrib/openzfs/module/zstd/lib/zstd.c:7392–7400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7390}
7391
7392void ZSTD_free(void* ptr, ZSTD_customMem customMem)
7393{
7394 if (ptr!=NULL) {
7395 if (customMem.customFree)
7396 customMem.customFree(customMem.opaque, ptr);
7397 else
7398 free(ptr);
7399 }
7400}
7401/**** ended inlining common/zstd_common.c ****/
7402
7403/**** start inlining compress/fse_compress.c ****/

Callers 15

POOL_freeFunction · 0.85
POOL_resize_internalFunction · 0.85
ZSTD_cwksp_freeFunction · 0.85
ZSTD_clearAllDictsFunction · 0.85
ZSTD_freeCCtxFunction · 0.85
ZSTD_freeCCtxParamsFunction · 0.85
ZSTD_getSequencesFunction · 0.85
ZSTD_freeCDictFunction · 0.85
ZSTD_freeDDictFunction · 0.85
ZSTD_freeDCtxFunction · 0.85
ZSTD_decompressStreamFunction · 0.85

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected