diff options
author | Lukas Lihotzki <lukas@lihotzki.de> | 2020-10-01 15:39:48 +0200 |
---|---|---|
committer | Lukas Lihotzki <lukas@lihotzki.de> | 2020-10-01 15:39:48 +0200 |
commit | be0c31894aa6f0feaf6add47987513ea0167de8b (patch) | |
tree | e23ce1534f5552b6523ae4a6669bca0bdee49bc4 /tests/test_pk.cpp | |
parent | 73a9ced64e0cbed6f6feec410e972550fe05f226 (diff) |
fix memory leaks in tests
Diffstat (limited to 'tests/test_pk.cpp')
-rw-r--r-- | tests/test_pk.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_pk.cpp b/tests/test_pk.cpp index 7679096..b917a2e 100644 --- a/tests/test_pk.cpp +++ b/tests/test_pk.cpp @@ -224,6 +224,9 @@ result = ::olm_ed25519_verify( assert_equals((size_t)-1, result); +olm_clear_utility(utility); +free(utility_buffer); + free(message); free(sig_buffer); |