Free cursors when done.
This commit is contained in:
parent
21f109fdeb
commit
a855af8608
@ -52,6 +52,7 @@
|
|||||||
|
|
||||||
#include "ssh_handlers.h"
|
#include "ssh_handlers.h"
|
||||||
#include "ssh_client.h"
|
#include "ssh_client.h"
|
||||||
|
#include "cursor.h"
|
||||||
|
|
||||||
int ssh_guac_client_handle_messages(guac_client* client) {
|
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 clipboard data */
|
||||||
free(guac_client_data->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 generic data struct */
|
||||||
free(client->data);
|
free(client->data);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user