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

Function quicklistReleaseIterator

src/quicklist.c:1113–1118  ·  view source on GitHub ↗

Release iterator. * If we still have a valid current node, then re-encode current node. */

Source from the content-addressed store, hash-verified

1111/* Release iterator.
1112 * If we still have a valid current node, then re-encode current node. */
1113void quicklistReleaseIterator(quicklistIter *iter) {
1114 if (iter->current)
1115 quicklistCompress(iter->qlist, iter->current);
1116
1117 zfree(iter);
1118}
1119
1120/* Get next element in iterator.
1121 *

Callers 3

_itrprintrFunction · 0.85
quicklistTestFunction · 0.85
rewriteListObjectFunction · 0.85

Calls 1

zfreeFunction · 0.85

Tested by

no test coverage detected