mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Free Cond and Mutex of GKCrypt
This commit is contained in:
parent
7baa0ffec1
commit
aa4b648fef
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,8 @@ CHIAKI_EXPORT void chiaki_gkcrypt_fini(ChiakiGKCrypt *gkcrypt)
|
|||
chiaki_mutex_unlock(&gkcrypt->key_buf_mutex);
|
||||
chiaki_cond_signal(&gkcrypt->key_buf_cond);
|
||||
chiaki_thread_join(&gkcrypt->key_buf_thread, NULL);
|
||||
chiaki_cond_fini(&gkcrypt->key_buf_cond);
|
||||
chiaki_mutex_fini(&gkcrypt->key_buf_mutex);
|
||||
chiaki_aligned_free(gkcrypt->key_buf);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue