mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 01:20:50 +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
|
||||
* the same key as the first we saw. */
|
||||
if (!equalStringObjects(firstkey,margv[keyindex[j]])) {
|
||||
decrRefCount(firstkey);
|
||||
getKeysFreeResult(keyindex);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user