GUAC-1164: Add missing free() for client connection ID.

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

Branch: refs/heads/master
Commit: 8c37db8a078e49993ab4fbba0957b2b6b56d908c
Parents: 176ff96
Author: Michael Jumper <[email protected]>
Authored: Thu Mar 17 16:03:58 2016 -0700
Committer: Michael Jumper <[email protected]>
Committed: Thu Mar 17 16:03:58 2016 -0700

----------------------------------------------------------------------
 src/libguac/client.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/8c37db8a/src/libguac/client.c
----------------------------------------------------------------------
diff --git a/src/libguac/client.c b/src/libguac/client.c
index 55efa48..5e23a40 100644
--- a/src/libguac/client.c
+++ b/src/libguac/client.c
@@ -482,6 +482,7 @@ void guac_client_free(guac_client* client) {
     }
 
     pthread_rwlock_destroy(&(client->__users_lock));
+    free(client->connection_id);
     free(client);
 }
 

Reply via email to