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
7dd8e7cf
Commit
7dd8e7cf
authored
May 31, 2010
by
antirez
Browse files
fixed missing incrRefCount
parent
560db612
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
7dd8e7cf
...
@@ -9778,6 +9778,7 @@ static int vmSwapObjectThreaded(robj *key, robj *val, redisDb *db) {
...
@@ -9778,6 +9778,7 @@ static int vmSwapObjectThreaded(robj *key, robj *val, redisDb *db) {
j
->
type
=
REDIS_IOJOB_PREPARE_SWAP
;
j
->
type
=
REDIS_IOJOB_PREPARE_SWAP
;
j
->
db
=
db
;
j
->
db
=
db
;
j
->
key
=
key
;
j
->
key
=
key
;
incrRefCount
(
key
);
j
->
id
=
j
->
val
=
val
;
j
->
id
=
j
->
val
=
val
;
incrRefCount
(
val
);
incrRefCount
(
val
);
j
->
canceled
=
0
;
j
->
canceled
=
0
;
...
...
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