Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

Bugfix/dtls memleak#24

Open
vwout wants to merge 2 commits intodarconeous:masterfrom
vwout:bugfix/dtls-memleak
Open

Bugfix/dtls memleak#24
vwout wants to merge 2 commits intodarconeous:masterfrom
vwout:bugfix/dtls-memleak

Conversation

@vwout
Copy link
Copy Markdown

@vwout vwout commented May 3, 2020

This pull requests fixes a memory leak in the library when using coaps (DTLS).
The memory allocated by SSL sessions internally stored, is only released in case of an error.
This pull requests changes this behavior to release all sessions for a certain context (an nyoci instance) when calling nyoci_release. This fixes issue #23.

In addition, a memory initialization issue is fixed, resolving further valgrind complaints.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant