提交 c25a5d3b 编写于 作者: A antirez

memory leak removed from expire propagation code

上级 bcf2995c
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册