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:18 UTC

[48/50] incubator-guacamole-server git commit: GUAC-1164: Ensure locks used by OpenSSL are always freed.

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


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/0a1f01ce
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/0a1f01ce
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/0a1f01ce

Branch: refs/heads/master
Commit: 0a1f01ce3f049c181c305ced643d8da7dad16757
Parents: 0fb8a49
Author: Michael Jumper <mi...@guac-dev.org>
Authored: Thu Mar 17 18:10:42 2016 -0700
Committer: Michael Jumper <mi...@guac-dev.org>
Committed: Thu Mar 17 18:10:42 2016 -0700

----------------------------------------------------------------------
 src/common-ssh/guac_ssh.c | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/0a1f01ce/src/common-ssh/guac_ssh.c
----------------------------------------------------------------------
diff --git a/src/common-ssh/guac_ssh.c b/src/common-ssh/guac_ssh.c
index 12156de..79682f7 100644
--- a/src/common-ssh/guac_ssh.c
+++ b/src/common-ssh/guac_ssh.c
@@ -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) {