aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnubisss <none@none>2010-05-17 15:58:12 +0200
committerAnubisss <none@none>2010-05-17 15:58:12 +0200
commit47b32302f1ab40255c63da57ee2129b945c3765e (patch)
treedfeb69ac3b48fcf8c72f7c1190ef4e3d0c0792ec
parentd3f0bddd3fc3801989fb45da3c974e143d4257bf (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.cpp3
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;