Skip to content

Commit

Permalink
GUACAMOLE-1517: Merge fix nested socket initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
necouchman authored Oct 23, 2024
2 parents 2432783 + 22a30da commit 57eae40
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 57eae40

Please sign in to comment.