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

Function freeMemoryOverheadData

app/redis-6.2.6/src/object.c:973–976  ·  view source on GitHub ↗

Release data obtained with getMemoryOverheadData(). */

Source from the content-addressed store, hash-verified

971
972/* Release data obtained with getMemoryOverheadData(). */
973void freeMemoryOverheadData(struct redisMemOverhead *mh) {
974 zfree(mh->db);
975 zfree(mh);
976}
977
978/* Return a struct redisMemOverhead filled with memory overhead
979 * information used for the MEMORY OVERHEAD and INFO command. The returned

Callers 3

genRedisInfoStringFunction · 0.85
getMemoryDoctorReportFunction · 0.85
memoryCommandFunction · 0.85

Calls 1

zfreeFunction · 0.70

Tested by

no test coverage detected