Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ freeStringObject
Function
freeStringObject
app/redis-6.2.6/src/object.c:296–300 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
294
}
295
296
void freeStringObject(robj *o) {
297
if (o->encoding == OBJ_ENCODING_RAW) {
298
sdsfree(o->ptr);
299
}
300
}
301
302
void freeListObject(robj *o) {
303
if (o->encoding == OBJ_ENCODING_QUICKLIST) {
Callers
1
decrRefCount
Function · 0.85
Calls
1
sdsfree
Function · 0.85
Tested by
no test coverage detected