Skip to content

Commit

Permalink
Solved a memory leak with Hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Mar 16, 2010
1 parent dd88747 commit 6d4fb10
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6d4fb10

Please sign in to comment.