mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-01 21:56:06 -04:00
fixed typo causing non free of mutex_buf structure in pqissl.cc
This commit is contained in:
parent
3cbf0f6657
commit
39672b2df6
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ void tls_cleanup()
|
|||
CRYPTO_set_locking_callback(NULL);
|
||||
CRYPTO_set_id_callback(NULL);
|
||||
|
||||
if (mutex_buf == NULL) {
|
||||
if (mutex_buf != NULL) {
|
||||
for (int i = 0; i < CRYPTO_num_locks(); i++) {
|
||||
pthread_mutex_destroy(&mutex_buf[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue