mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 19:51:22 +00:00
decrRefCount -> decrRefCountVoid in list constructor.
This commit is contained in:
@ -97,7 +97,7 @@ robj *dupStringObject(robj *o) {
|
||||
robj *createListObject(void) {
|
||||
list *l = listCreate();
|
||||
robj *o = createObject(REDIS_LIST,l);
|
||||
listSetFreeMethod(l,decrRefCount);
|
||||
listSetFreeMethod(l,decrRefCountVoid);
|
||||
o->encoding = REDIS_ENCODING_LINKEDLIST;
|
||||
return o;
|
||||
}
|
||||
|
Reference in New Issue
Block a user