]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/clientsocket.cpp
Include the matching header first in .cpp files
[libs/net.git] / source / net / clientsocket.cpp
index 89e2d082a65bddee2cdfd1f32334f2fb0f3a57bf..fbbd2415c693911b88063f0091600d0d3e73f25a 100644 (file)
@@ -1,6 +1,6 @@
 #include "platform_api.h"
-#include <msp/core/systemerror.h>
 #include "clientsocket.h"
+#include <msp/core/systemerror.h>
 #include "socket_private.h"
 
 namespace Msp {
@@ -19,8 +19,6 @@ ClientSocket::ClientSocket(const Private &p, const SockAddr &paddr):
 ClientSocket::~ClientSocket()
 {
        signal_flush_required.emit();
-
-       delete peer_addr;
 }
 
 void ClientSocket::shutdown(IO::Mode m)