未验证 提交 42fd522c 编写于 作者: S Salvatore Sanfilippo 提交者: GitHub

Merge pull request #7421 from hwware/sentinel_leak_fix

fix memory leak in sentinel connection sharing
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册