GUAC-1164: Ensure locks used by OpenSSL are always freed.

This commit is contained in:
Michael Jumper 2016-03-17 18:10:42 -07:00
parent 0fb8a49e62
commit 0a1f01ce3f

View File

@ -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) {