X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/d288ee655fef467a7c1f14a13af9485f5c0c0862..8e2a225aa6cd1848a282d3d96742759cc24fc7e8:/src/object.c?ds=sidebyside diff --git a/src/object.c b/src/object.c index c2b89709..38987e26 100644 --- a/src/object.c +++ b/src/object.c @@ -35,6 +35,7 @@ robj *createObject(int type, void *ptr) { robj *o = zmalloc(sizeof(*o)); o->type = type; + o->archived = 0; o->encoding = REDIS_ENCODING_RAW; o->ptr = ptr; o->refcount = 1;