Free Cond and Mutex of GKCrypt

This commit is contained in:
Florian Märkl 2019-08-31 18:18:04 +02:00
commit aa4b648fef
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857

View file

@ -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);
}
}