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

Function dictRelease

app/redis-6.2.6/src/dict.c:496–501  ·  view source on GitHub ↗

Clear & Release the hash table */

Source from the content-addressed store, hash-verified

494
495/* Clear & Release the hash table */
496void dictRelease(dict *d)
497{
498 _dictClear(d,&d->ht[0],NULL);
499 _dictClear(d,&d->ht[1],NULL);
500 zfree(d);
501}
502
503dictEntry *dictFind(dict *d, const void *key)
504{

Callers 15

dictTestFunction · 0.70
freeClusterManagerFunction · 0.70
findBigKeysFunction · 0.70
scriptingReleaseFunction · 0.70
sentinelResetMasterFunction · 0.70
sentinelCommandFunction · 0.70
sentinelGetLeaderFunction · 0.70

Calls 2

_dictClearFunction · 0.70
zfreeFunction · 0.70

Tested by

no test coverage detected