mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
fixed missing incrRefCount
This commit is contained in:
parent
560db612e1
commit
7dd8e7cfdf
1
redis.c
1
redis.c
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user