Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3a7b1702
Commit
3a7b1702
authored
Apr 06, 2016
by
Sun He
Committed by
antirez
May 10, 2016
Browse files
modules/RM_OpenKey: avoid decrRefCount obj twice
parent
1868dee6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
3a7b1702
...
...
@@ -569,7 +569,6 @@ void *RM_OpenKey(RedisModuleCtx *ctx, robj *keyname, int mode) {
}
else
{
value
=
lookupKeyRead
(
ctx
->
client
->
db
,
keyname
);
if
(
value
==
NULL
)
{
decrRefCount
(
keyname
);
return
NULL
;
}
}
...
...
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