提交 7371d5e2 编写于 作者: A antirez

Remove wrong decrRefCount() from getNodeByQuery().

This fixes issue #607.
上级 20f52b5b
......@@ -1963,7 +1963,6 @@ clusterNode *getNodeByQuery(redisClient *c, struct redisCommand *cmd, robj **arg
/* If it is not the first key, make sure it is exactly
* the same key as the first we saw. */
if (!equalStringObjects(firstkey,margv[keyindex[j]])) {
decrRefCount(firstkey);
getKeysFreeResult(keyindex);
return NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册