Skip to content
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

Leak corrections and testing #12

Merged
merged 2 commits into from
Nov 30, 2020
Merged

Leak corrections and testing #12

merged 2 commits into from
Nov 30, 2020

Conversation

bjosv
Copy link
Collaborator

@bjosv bjosv commented Nov 27, 2020

  • Correcting 2 iterator leaks, now covered with tests.
    Leaks in multi-command handling:

  • Add option to build using sanitizers

    • The option is set when generating makefiles, like the other configs:
      cmake -DDOWNLOAD_HIREDIS=ON -DUSE_SANITIZER=leak ..
  • Build and test using sanitizers in CI aswell

README.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very good. Good tests added.

@bjosv bjosv force-pushed the leak-corrections branch 3 times, most recently from ee3c376 to 9f94c34 Compare November 30, 2020 10:05
CMakeLists.txt Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
The option is set when generating makefiles, like the other configs:
`cmake -DDOWNLOAD_HIREDIS=ON -DUSE_SANITIZER=leak ..`

* Build and test using sanitizers in CI as a new job

* Leak found so sanitizers `leak` and `address` temporary disabled in CI
Leaks in multi-command handling:
- redisClusterGetReply()
- command_post_fragment()
@bjosv bjosv merged commit f9b977e into master Nov 30, 2020
@bjosv bjosv deleted the leak-corrections branch November 30, 2020 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants