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

Avoid leaving behind a freed pointer #74

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Conversation

simo5
Copy link
Member

@simo5 simo5 commented Oct 13, 2022

This does not lead to a crash because sessions are cached and reused, but can cause issues (beyond nasty "possible double free" messages), as it may free a session reused by another thread while it is in use.

Related #66

This does not lead to a crash because sessions are cached and reused,
but can cause issues (beyond nasty "possible double free" messages),
as it may free a session reused by another thread while it is in use.

Signed-off-by: Simo Sorce <[email protected]>
@simo5 simo5 merged commit 1291d5e into latchset:main Oct 13, 2022
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.

1 participant