diff --git a/components/net/sal/socket/net_sockets.c b/components/net/sal/socket/net_sockets.c index 0d6852ae32..53b783fee0 100644 --- a/components/net/sal/socket/net_sockets.c +++ b/components/net/sal/socket/net_sockets.c @@ -311,7 +311,6 @@ int closesocket(int s) error = -1; } - rt_free(d->vnode); /* socket has been closed, delete it from file system fd */ fd_release(s);