mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 17:37:12 -05:00
fixed typo causing non free of mutex_buf structure in pqissl.cc
This commit is contained in:
parent
3cbf0f6657
commit
39672b2df6
@ -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…
Reference in New Issue
Block a user