-
Notifications
You must be signed in to change notification settings - Fork 23.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix some memory leaks in redis-cli #13258
base: unstable
Are you sure you want to change the base?
Conversation
@LuMingYinDetect Can you try to reproduce these leaks using redis-cli? |
The tool I use to check for memory leaks is the Clang Static Analyzer. It only provides information about the paths that trigger the defects and doesn't offer a specific test case. Therefore, I might not be able to reproduce the issue using redis-cli for now. |
@LuMingYinDetect if there is any leak, when execute the following script we can see a leak report from sanitizer.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correcting released memory objects.
Co-authored-by: debing.sun <debing.sun@redis.com>
Thank you for your detailed guidance! |
Fix memory leak related to variable slot_nodes in the clusterManagerFixSlotsCoverage() function