[SAL/SOCKET]修复在 RT_DEBUG 开启后,调用 closesocket 接口触发断言的 BUG

This commit is contained in:
yanghaiyong 2023-07-07 09:42:55 +08:00 committed by guo
parent 6a9973cf19
commit 259431ace3
1 changed files with 0 additions and 1 deletions

View File

@ -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);