Commit afc4b924 authored by antirez's avatar antirez
Browse files

DEBUG DIGEST Set type memory leak fixed.

parent 34e489cb
......@@ -166,6 +166,7 @@ void computeDatasetDigest(unsigned char *final) {
sds sdsele;
while((sdsele = setTypeNextObject(si)) != NULL) {
xorDigest(digest,sdsele,sdslen(sdsele));
sdsfree(sdsele);
}
setTypeReleaseIterator(si);
} else if (o->type == OBJ_ZSET) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment