diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-06-14 21:26:43 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-06-14 21:26:43 +0000 |
commit | 97e228c38f312e455e50784146e8a76da7790f97 (patch) | |
tree | e9fbee7a7d64797d2cae233eb7eb6b5d75d34117 /src/server.h | |
parent | 5e5fa99148a14f45d162b43dfbf31db3eb110f0d (diff) | |
download | libbu++-97e228c38f312e455e50784146e8a76da7790f97.tar.gz libbu++-97e228c38f312e455e50784146e8a76da7790f97.tar.bz2 libbu++-97e228c38f312e455e50784146e8a76da7790f97.tar.xz libbu++-97e228c38f312e455e50784146e8a76da7790f97.zip |
Fixed a minor memory leak in the server. It makes a difference on popular
servers that run for weeks or more.
Diffstat (limited to '')
-rw-r--r-- | src/server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h index e09246f..74ee99a 100644 --- a/src/server.h +++ b/src/server.h | |||
@@ -72,6 +72,7 @@ namespace Bu | |||
72 | void shutdown(); | 72 | void shutdown(); |
73 | 73 | ||
74 | private: | 74 | private: |
75 | void closeClient( int iSocket ); | ||
75 | class SrvClientLink : public Bu::ClientLink | 76 | class SrvClientLink : public Bu::ClientLink |
76 | { | 77 | { |
77 | public: | 78 | public: |