From 4cc64c1344aa02dec0c9ee479cae535356ad4291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sat, 31 Aug 2019 18:18:04 +0200 Subject: [PATCH] Free Mutexes in Takion --- lib/src/takion.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/takion.c b/lib/src/takion.c index d760675..bdba21a 100644 --- a/lib/src/takion.c +++ b/lib/src/takion.c @@ -307,6 +307,8 @@ CHIAKI_EXPORT void chiaki_takion_close(ChiakiTakion *takion) chiaki_stop_pipe_stop(&takion->stop_pipe); chiaki_thread_join(&takion->thread, NULL); chiaki_stop_pipe_fini(&takion->stop_pipe); + chiaki_mutex_fini(&takion->seq_num_local_mutex); + chiaki_mutex_fini(&takion->gkcrypt_local_mutex); } CHIAKI_EXPORT ChiakiErrorCode chiaki_takion_crypt_advance_key_pos(ChiakiTakion *takion, size_t data_size, size_t *key_pos)