Parcourir la source

Update sal_socket.c

OK
Keyun-Johan il y a 5 ans
Parent
commit
5ea637903d
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      components/net/sal_socket/src/sal_socket.c

+ 0 - 1
components/net/sal_socket/src/sal_socket.c

@@ -917,7 +917,6 @@ int sal_socket(int domain, int type, int protocol)
     socket = socket_new();
     if (socket < 0)
     {
-        socket_delete(socket);
         return -1;
     }