Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/echo: free allocated memory when an error happens
If either `priv_key` or `pub_key` is `NULL` but not the other one, the allocated memory is not freed. This issue is reported by clang's static analyzer. Fix this by calling `noise_free` in the error block.
- Loading branch information