You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2016/03/20 03:25:15 UTC

[45/50] incubator-guacamole-server git commit: GUAC-1164: Free private key used for SSH login.

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


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/e57c9ddd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/e57c9ddd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/e57c9ddd

Branch: refs/heads/master
Commit: e57c9ddd86c1f470752d71f9d9e65658a17c95d5
Parents: 0a4bfc9
Author: Michael Jumper <mi...@guac-dev.org>
Authored: Thu Mar 17 17:15:14 2016 -0700
Committer: Michael Jumper <mi...@guac-dev.org>
Committed: Thu Mar 17 17:30:32 2016 -0700

----------------------------------------------------------------------
 src/common-ssh/guac_ssh_key.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/e57c9ddd/src/common-ssh/guac_ssh_key.c
----------------------------------------------------------------------
diff --git a/src/common-ssh/guac_ssh_key.c b/src/common-ssh/guac_ssh_key.c
index adbe041..6c374e3 100644
--- a/src/common-ssh/guac_ssh_key.c
+++ b/src/common-ssh/guac_ssh_key.c
@@ -150,6 +150,7 @@ void guac_common_ssh_key_free(guac_common_ssh_key* key) {
     else if (key->type == SSH_KEY_DSA)
         DSA_free(key->dsa);
 
+    free(key->private_key);
     free(key->public_key);
     free(key);
 }