Update osc.c

Initialize sockaddr_in variable to clear sin_zero field to avoid undifined behavior.
Socket system call's return is validated.
Fix of memory allocated ( for size 52 bytes) in case of error scenario not deleted.