diff options
author | antirez <antirez@gmail.com> | 2010-03-16 01:11:23 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-03-16 01:11:23 +0100 |
commit | 6d4fb107b24cb4ce5c25be5c1cb3fa223a70940a (patch) | |
tree | 0c5a17be6f494c8eb59c3bf347155e3ef4373364 | |
parent | dd88747b786a4e5f9f4135e355d0d483e991d54e (diff) | |
download | redis-6d4fb107b24cb4ce5c25be5c1cb3fa223a70940a.tar.gz |
Solved a memory leak with Hashes
-rw-r--r-- | redis.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -3590,8 +3590,6 @@ static robj *rdbLoadObject(int type, FILE *fp) { tryObjectEncoding(key); tryObjectEncoding(val); dictAdd((dict*)o->ptr,key,val); - incrRefCount(key); - incrRefCount(val); } } } else { |