err.. not sure :-)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
2000-03-15 02:14:54 +00:00
parent 627a3091c8
commit f6f13cd4a8

View File

@@ -165,13 +165,13 @@ void GSocket_destroy(GSocket *socket)
{
assert(socket != NULL);
/* Per-socket GUI-specific cleanup */
_GSocket_GUI_Destroy(socket);
/* Check that the socket is really shutdowned */
if (socket->m_fd != -1)
GSocket_Shutdown(socket);
/* Per-socket GUI-specific cleanup */
_GSocket_GUI_Destroy(socket);
/* Destroy private addresses */
if (socket->m_local)
GAddress_destroy(socket->m_local);