Skip to content

Commit

Permalink
GUACAMOLE-1517: Fix nested socket initialization.
Browse files Browse the repository at this point in the history
(cherry picked from commit 228acef)
  • Loading branch information
jmuehlner committed Oct 23, 2024
1 parent 2432783 commit 22a30da
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 22a30da

Please sign in to comment.