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) {
|
||||
list *l = listCreate();
|
||||
robj *o = createObject(REDIS_LIST,l);
|
||||
listSetFreeMethod(l,decrRefCount);
|
||||
listSetFreeMethod(l,decrRefCountVoid);
|
||||
o->encoding = REDIS_ENCODING_LINKEDLIST;
|
||||
return o;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user