Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
6d4fb107
Commit
6d4fb107
authored
Mar 16, 2010
by
antirez
Browse files
Solved a memory leak with Hashes
parent
dd88747b
Changes
1
Show whitespace changes
Inline
Side-by-side
redis.c
View file @
6d4fb107
...
@@ -3590,8 +3590,6 @@ static robj *rdbLoadObject(int type, FILE *fp) {
...
@@ -3590,8 +3590,6 @@ static robj *rdbLoadObject(int type, FILE *fp) {
tryObjectEncoding
(
key
);
tryObjectEncoding
(
key
);
tryObjectEncoding
(
val
);
tryObjectEncoding
(
val
);
dictAdd
((
dict
*
)
o
->
ptr
,
key
,
val
);
dictAdd
((
dict
*
)
o
->
ptr
,
key
,
val
);
incrRefCount
(
key
);
incrRefCount
(
val
);
}
}
}
}
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment