commit | 12cb03a6a150fb4edae2d696b4305b82a10926f3 | [log] [tgz] |
---|---|---|
author | Olaf Bergmann <bergmann@tzi.org> | Thu Dec 14 16:14:11 2017 +0100 |
committer | Olaf Bergmann <bergmann@tzi.org> | Thu Dec 14 16:14:11 2017 +0100 |
tree | 6ca41668b8a6071ae76377a9e4f0ae729008bcc1 | |
parent | ac5de3ec5bc270c7fd8b0b663deb482fc4e1ea60 [diff] |
dtls.c: fix memory leak in dtls_free_context() In [1], Anton Meier points out that the nodes in the sendqueue are not freed when the context is destroyed. This change adds the suggested fix. [1] https://dev.eclipse.org/mhonarc/lists/tinydtls-dev/msg00139.html Change-Id: Ia248b0fbe4c5adb56ee883ac05001eefc67c0d8c