diff options
author | Anubisss <none@none> | 2010-05-17 15:58:12 +0200 |
---|---|---|
committer | Anubisss <none@none> | 2010-05-17 15:58:12 +0200 |
commit | 47b32302f1ab40255c63da57ee2129b945c3765e (patch) | |
tree | dfeb69ac3b48fcf8c72f7c1190ef4e3d0c0792ec | |
parent | d3f0bddd3fc3801989fb45da3c974e143d4257bf (diff) |
Fix a crash in realmd.
That crash occurs when realmd get an unknown packet and try to "shutdown" the socket.
Note that: don't try to release an ACE_Message_Block if it is _not_ dynamically allocated.
--HG--
branch : trunk
-rw-r--r-- | src/trinityrealm/RealmSocket.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/trinityrealm/RealmSocket.cpp b/src/trinityrealm/RealmSocket.cpp index 581e2c0a659..7eb96cb96f8 100644 --- a/src/trinityrealm/RealmSocket.cpp +++ b/src/trinityrealm/RealmSocket.cpp @@ -60,9 +60,6 @@ RealmSocket::~RealmSocket(void) if (msg_queue()) msg_queue()->close(); - if (input_buffer_.length() != 0) - input_buffer_.release(); - // delete RealmSocketObject must never be called from our code. closing_ = true; |