You need to call this function to really free the entry after a call * to dictUnlink(). It's safe to call this function with 'he' = NULL. */
| 459 | /* You need to call this function to really free the entry after a call |
| 460 | * to dictUnlink(). It's safe to call this function with 'he' = NULL. */ |
| 461 | void dictFreeUnlinkedEntry(dict *d, dictEntry *he) { |
| 462 | if (he == NULL) return; |
| 463 | dictFreeKey(d, he); |
| 464 | dictFreeVal(d, he); |
| 465 | zfree(he); |
| 466 | } |
| 467 | |
| 468 | /* Destroy an entire dictionary */ |
| 469 | int _dictClear(dict *d, dictht *ht, void(callback)(void *)) { |
no test coverage detected