aboutsummaryrefslogtreecommitdiff
path: root/NetConsole/netconsole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NetConsole/netconsole.cpp')
-rw-r--r--NetConsole/netconsole.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/NetConsole/netconsole.cpp b/NetConsole/netconsole.cpp
index 3a59c5be..4df47647 100644
--- a/NetConsole/netconsole.cpp
+++ b/NetConsole/netconsole.cpp
@@ -13,6 +13,15 @@
#include "netconsole.h"
//-----------------------------------------------------------------------------
+// Purpose: destructor
+//-----------------------------------------------------------------------------
+CNetCon::~CNetCon()
+{
+ delete m_pNetAdr2;
+ delete m_pSocket;
+}
+
+//-----------------------------------------------------------------------------
// Purpose: WSA and NETCON systems init
// Output : true on success, false otherwise
//-----------------------------------------------------------------------------