GUACAMOLE-1517: Merge fix nested socket initialization.

This commit is contained in:
Virtually Nick 2024-10-23 12:26:21 -04:00 committed by GitHub
commit 57eae40d18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;