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

Release thread attr handles and block default route on compression #105

Merged
merged 1 commit into from
Apr 21, 2014

Conversation

bartw72
Copy link
Contributor

@bartw72 bartw72 commented Apr 20, 2014

Release the thread attributes where were created with pthread_attr_init. According to the manual: "When a thread attributes object is no longer required, it should be destroyed using the pthread_attr_destroy() function. Destroying a thread attributes object has no effect on threads that were created using that object.". For the configuration of the compression add the default switch to block accidental invalid configuration settings since this would use an uninitialized variable.

Change default behaviour to a rd_kafka_assert

Remove double * comments
@bartw72
Copy link
Contributor Author

bartw72 commented Apr 21, 2014

Well after some fighting with rebasing some branches the wrong way, this should be rebased and changed with correct comment type and assert instead of abort.

edenhill added a commit that referenced this pull request Apr 21, 2014
Release thread attr handles and silence compiler warnings (unreached compression.codec code path)
@edenhill edenhill merged commit ecc8969 into confluentinc:master Apr 21, 2014
@edenhill
Copy link
Contributor

Thanks!

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