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

Bugfix/dtls memleak #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

vwout
Copy link

@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