GUAC-1164: Ensure locks used by OpenSSL are always freed.
This commit is contained in:
parent
0fb8a49e62
commit
0a1f01ce3f
@ -128,6 +128,9 @@ static void guac_common_ssh_openssl_free_locks(int count) {
|
||||
for (i=0; i < count; i++)
|
||||
pthread_mutex_destroy(&(guac_common_ssh_openssl_locks[i]));
|
||||
|
||||
/* Free lock array */
|
||||
free(guac_common_ssh_openssl_locks);
|
||||
|
||||
}
|
||||
|
||||
int guac_common_ssh_init(guac_client* client) {
|
||||
|
Loading…
Reference in New Issue
Block a user