Solved a memory leak with Hashes

This commit is contained in:
antirez 2010-03-16 01:11:23 +01:00
parent dd88747b78
commit 6d4fb107b2

View File

@ -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 {