mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 03:17:51 +00:00
fix memory leak in sentinel connection sharing
This commit is contained in:
parent
5e46e0800b
commit
1bfa2d27a6
@ -1076,6 +1076,7 @@ int sentinelTryConnectionSharing(sentinelRedisInstance *ri) {
|
||||
releaseInstanceLink(ri->link,NULL);
|
||||
ri->link = match->link;
|
||||
match->link->refcount++;
|
||||
dictReleaseIterator(di);
|
||||
return C_OK;
|
||||
}
|
||||
dictReleaseIterator(di);
|
||||
|
Loading…
Reference in New Issue
Block a user