MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / freeMemoryOverheadData

Function freeMemoryOverheadData

src/object.cpp:1057–1060  ·  view source on GitHub ↗

Release data obtained with getMemoryOverheadData(). */

Source from the content-addressed store, hash-verified

1055
1056/* Release data obtained with getMemoryOverheadData(). */
1057void freeMemoryOverheadData(struct redisMemOverhead *mh) {
1058 zfree(mh->db);
1059 zfree(mh);
1060}
1061
1062/* Return a struct redisMemOverhead filled with memory overhead
1063 * information used for the MEMORY OVERHEAD and INFO command. The returned

Callers 3

getMemoryDoctorReportFunction · 0.85
memoryCommandFunction · 0.85
genRedisInfoStringFunction · 0.85

Calls 1

zfreeFunction · 0.85

Tested by

no test coverage detected