mirror of
https://github.com/fluencelabs/redis
synced 2025-03-21 10:00:51 +00:00
Remove wrong decrRefCount() from getNodeByQuery().
This fixes issue #607.
This commit is contained in:
parent
20f52b5b78
commit
7371d5e248
@ -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
|
/* If it is not the first key, make sure it is exactly
|
||||||
* the same key as the first we saw. */
|
* the same key as the first we saw. */
|
||||||
if (!equalStringObjects(firstkey,margv[keyindex[j]])) {
|
if (!equalStringObjects(firstkey,margv[keyindex[j]])) {
|
||||||
decrRefCount(firstkey);
|
|
||||||
getKeysFreeResult(keyindex);
|
getKeysFreeResult(keyindex);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user