| 300 | } |
| 301 | |
| 302 | void freeListObject(robj *o) { |
| 303 | if (o->encoding == OBJ_ENCODING_QUICKLIST) { |
| 304 | quicklistRelease(o->ptr); |
| 305 | } else { |
| 306 | serverPanic("Unknown list encoding type"); |
| 307 | } |
| 308 | } |
| 309 | |
| 310 | void freeSetObject(robj *o) { |
| 311 | switch (o->encoding) { |
no test coverage detected