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

fix memory leak in case of error on consumer/producer creation #109

Merged
merged 3 commits into from
May 14, 2024

Conversation

olegrok
Copy link

@olegrok olegrok commented Apr 30, 2024

Before this patch we didn't free some resources in case of error in Consumer.create or Producer.create functions. This patch fixes it.

Closes #108

Before this patch we didn't free some resources in case of error
in Consumer.create or Producer.create functions. This patch fixes
it.

Closes #108
@olegrok olegrok marked this pull request as ready for review April 30, 2024 17:15
  * Fix ENABLE_ASAN flag passing into CMakeLists.txt
  * Add UBSAN
  * Enable ASAN/UBSAN for librdkafka and lua module targets
@olegrok olegrok merged commit e029de2 into master May 14, 2024
5 checks passed
@olegrok olegrok deleted the fix-mem-leak branch May 14, 2024 04:09
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.

Memory leak on failures in create functions
1 participant