GUAC-1164: Free private key used for SSH login.

This commit is contained in:
Michael Jumper 2016-03-17 17:15:14 -07:00
parent 0a4bfc95d1
commit e57c9ddd86

View File

@ -150,6 +150,7 @@ void guac_common_ssh_key_free(guac_common_ssh_key* key) {
else if (key->type == SSH_KEY_DSA) else if (key->type == SSH_KEY_DSA)
DSA_free(key->dsa); DSA_free(key->dsa);
free(key->private_key);
free(key->public_key); free(key->public_key);
free(key); free(key);
} }