summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 981da0c..eb85997 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -21,6 +21,15 @@ Bu::Server::Server() :
21 21
22Bu::Server::~Server() 22Bu::Server::~Server()
23{ 23{
24 for( SrvHash::iterator i = hServers.begin(); i != hServers.end(); i++ )
25 {
26 delete *i;
27 }
28
29 for( ClientHash::iterator i = hClients.begin(); i != hClients.end(); i++ )
30 {
31 delete *i;
32 }
24} 33}
25 34
26void Bu::Server::addPort( int nPort, int nPoolSize ) 35void Bu::Server::addPort( int nPort, int nPoolSize )