Commit 6d4fb107 authored by antirez's avatar antirez
Browse files

Solved a memory leak with Hashes

parent dd88747b
......@@ -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 {
......
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