socket_init: avoid memory leak
Free allocated memory in case of an error.
Addresses-Coverity-ID: 512010 Resource leak Signed-off-by: Heinrich Schuchardt <xypron.glpk@...>
Authored by: Heinrich Schuchardt 2024-11-15
Parent: [fb9ba6]
Child: [74b44c]