mirror of
https://github.com/fluencelabs/redis
synced 2025-06-17 19:21:21 +00:00
modules/RM_OpenKey: avoid decrRefCount obj twice
This commit is contained in:
@ -569,7 +569,6 @@ void *RM_OpenKey(RedisModuleCtx *ctx, robj *keyname, int mode) {
|
||||
} else {
|
||||
value = lookupKeyRead(ctx->client->db,keyname);
|
||||
if (value == NULL) {
|
||||
decrRefCount(keyname);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user