diff options
Diffstat (limited to 'src/Network.cpp')
-rw-r--r-- | src/Network.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Network.cpp b/src/Network.cpp index 6cd9baa..47ae751 100644 --- a/src/Network.cpp +++ b/src/Network.cpp @@ -5,7 +5,6 @@ Network::Network(std::string address, unsigned short port) { socket = new Socket(address, port); } catch (std::exception &e) { LOG(WARNING) << "CONNECT FAULT"; - delete socket; throw; } @@ -13,7 +12,6 @@ Network::Network(std::string address, unsigned short port) { stream = new StreamSocket(socket); } catch (std::exception &e) { LOG(WARNING) << "NOT STREAMED"; - LOG(FATAL) << e.what(); } } |