diff options
author | antirez <antirez@gmail.com> | 2015-09-04 10:22:24 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-10-01 13:02:24 +0200 |
commit | afc4b9241c37f37d1ca15be1ec3130c6a9c04a2a (patch) | |
tree | 2996d5c179b9937927bd3992329b92b1d7a56af1 /src | |
parent | 34e489cb8cee04b52b5cbbfe53280ad8419d0a96 (diff) | |
download | redis-afc4b9241c37f37d1ca15be1ec3130c6a9c04a2a.tar.gz |
DEBUG DIGEST Set type memory leak fixed.
Diffstat (limited to 'src')
-rw-r--r-- | src/debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index fb13f7984..96d36f2eb 100644 --- a/src/debug.c +++ b/src/debug.c @@ -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) { |