decrRefCount -> decrRefCountVoid in list constructor.
This commit is contained in:
parent
40f822da73
commit
1c0c551776
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user