From a855af86085c3a9d9bca923c41d037049dadaa14 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 9 Apr 2013 13:58:55 -0700 Subject: [PATCH] Free cursors when done. --- protocols/ssh/src/ssh_handlers.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protocols/ssh/src/ssh_handlers.c b/protocols/ssh/src/ssh_handlers.c index 2edc915e..7cdd9ba2 100644 --- a/protocols/ssh/src/ssh_handlers.c +++ b/protocols/ssh/src/ssh_handlers.c @@ -52,6 +52,7 @@ #include "ssh_handlers.h" #include "ssh_client.h" +#include "cursor.h" int ssh_guac_client_handle_messages(guac_client* client) { @@ -253,6 +254,9 @@ int ssh_guac_client_free_handler(guac_client* client) { /* Free clipboard data */ free(guac_client_data->clipboard_data); + /* Free cursors */ + guac_ssh_cursor_free(client, guac_client_data->ibar_cursor); + /* Free generic data struct */ free(client->data);