Skip to content

Commit

Permalink
GUACAMOLE-1517: Fix nested socket initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuehlner committed Oct 22, 2024
1 parent be51ad1 commit 228acef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libguac/socket-nest.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ guac_socket* guac_socket_nest(guac_socket* parent, int index) {

/* Allocate socket and associated data */
guac_socket* socket = guac_socket_alloc();
guac_socket_nest_data* data = guac_mem_alloc(sizeof(guac_socket_nest_data));
guac_socket_nest_data* data = guac_mem_zalloc(sizeof(guac_socket_nest_data));

/* Store nested socket details as socket data */
data->parent = parent;
Expand Down

0 comments on commit 228acef

Please sign in to comment.