Clear & Release the hash table */
| 837 | |
| 838 | /* Clear & Release the hash table */ |
| 839 | void dictRelease(dict *d) |
| 840 | { |
| 841 | if (__atomic_sub_fetch(&d->refcount, 1, __ATOMIC_ACQ_REL) == 0) { |
| 842 | _dictClear(d,&d->ht[0],NULL); |
| 843 | _dictClear(d,&d->ht[1],NULL); |
| 844 | zfree(d); |
| 845 | } |
| 846 | } |
| 847 | |
| 848 | dictEntry *dictFindWithPrev(dict *d, const void *key, uint64_t h, dictEntry ***dePrevPtr, dictht **pht, bool fShallowCompare) |
| 849 | { |
no test coverage detected