| 1519 | } |
| 1520 | |
| 1521 | void quicklistBookmarksClear(quicklist *ql) { |
| 1522 | while (ql->bookmark_count) |
| 1523 | zfree(ql->bookmarks[--ql->bookmark_count].name); |
| 1524 | /* NOTE: We do not shrink (realloc) the quick list. main use case for this |
| 1525 | * function is just before releasing the allocation. */ |
| 1526 | } |
| 1527 | |
| 1528 | /* The rest of this file is test cases and test helpers. */ |
| 1529 | #ifdef REDIS_TEST |
no test coverage detected