socketio-openiot: Fix freeing of unallocated memory
Changed the memory allocation of `socket_io_instance` from
`malloc` to `calloc` to ensure all attributes are zero
initialized and avoid attempting to free unallocated memory
in the event the linked list cannot be created.
Signed-off-by:
Jack Styles <jack.styles@arm.com>
Loading
Please register or sign in to comment