diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 7864aa59f3..28e293681c 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -580,7 +580,6 @@ GSocket *GSocket::WaitConnection() err = _GAddress_translate_from(connection->m_peer, &from, fromlen); if (err != GSOCK_NOERROR) { - GAddress_destroy(connection->m_peer); delete connection; m_error = err; return NULL;