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