GUAC-236: Ensure client socket is always freed.

This commit is contained in:
Michael Jumper 2016-02-28 20:23:52 -08:00
parent a5ec24c17b
commit bd5bd29ec0

View File

@ -462,6 +462,9 @@ void guac_client_free(guac_client* client) {
}
/* Free socket */
guac_socket_free(client->socket);
/* Free layer pools */
guac_pool_free(client->__buffer_pool);
guac_pool_free(client->__layer_pool);