Free the specified skiplist node. The referenced SDS string representation * of the element is freed too, unless node->ele is set to NULL before calling * this function. */
| 98 | * of the element is freed too, unless node->ele is set to NULL before calling |
| 99 | * this function. */ |
| 100 | void zslFreeNode(zskiplistNode *node) { |
| 101 | sdsfree(node->ele); |
| 102 | zfree(node); |
| 103 | } |
| 104 | |
| 105 | /* Free a whole skiplist. */ |
| 106 | void zslFree(zskiplist *zsl) { |
no test coverage detected