[SAL/SOCKET]修复在 RT_DEBUG 开启后,调用 closesocket 接口触发断言的 BUG
This commit is contained in:
parent
6a9973cf19
commit
259431ace3
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue