GUAC-1164: Free private key used for SSH login.
This commit is contained in:
parent
0a4bfc95d1
commit
e57c9ddd86
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user