diff options
Diffstat (limited to '')
-rw-r--r-- | src/server.cpp | 9 |
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 | ||
22 | Bu::Server::~Server() | 22 | Bu::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 | ||
26 | void Bu::Server::addPort( int nPort, int nPoolSize ) | 35 | void Bu::Server::addPort( int nPort, int nPoolSize ) |