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

Function freeRedisConfig

app/redis-6.2.6/src/redis-benchmark.c:382–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380 return NULL;
381}
382static void freeRedisConfig(redisConfig *cfg) {
383 if (cfg->save) sdsfree(cfg->save);
384 if (cfg->appendonly) sdsfree(cfg->appendonly);
385 zfree(cfg);
386}
387
388static void freeClient(client c) {
389 aeEventLoop *el = CLIENT_GET_EVENTLOOP(c);

Callers 3

getRedisConfigFunction · 0.85
freeClusterNodeFunction · 0.85
mainFunction · 0.85

Calls 2

sdsfreeFunction · 0.85
zfreeFunction · 0.70

Tested by

no test coverage detected