mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Need to zero out struct
This commit is contained in:
@@ -58,6 +58,7 @@ guac_client* __guac_alloc_client(GUACIO* io) {
|
|||||||
|
|
||||||
/* Allocate new client (not handoff) */
|
/* Allocate new client (not handoff) */
|
||||||
guac_client* client = malloc(sizeof(guac_client));
|
guac_client* client = malloc(sizeof(guac_client));
|
||||||
|
memset(client, 0, sizeof(guac_client));
|
||||||
|
|
||||||
/* Init new client */
|
/* Init new client */
|
||||||
client->io = io;
|
client->io = io;
|
||||||
|
Reference in New Issue
Block a user