mirror of
https://github.com/fluencelabs/redis
synced 2025-04-02 15:51:05 +00:00
memory leak removed from expire propagation code
This commit is contained in:
parent
bcf2995c98
commit
c25a5d3b10
3
src/db.c
3
src/db.c
@ -450,7 +450,8 @@ void propagateExpire(redisDb *db, robj *key) {
|
||||
if (listLength(server.slaves))
|
||||
replicationFeedSlaves(server.slaves,db->id,argv,2);
|
||||
|
||||
decrRefCount(key);
|
||||
decrRefCount(argv[0]);
|
||||
decrRefCount(argv[1]);
|
||||
}
|
||||
|
||||
int expireIfNeeded(redisDb *db, robj *key) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user