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
This commit is contained in:
Anubisss
2010-05-17 15:58:12 +02:00
parent d3f0bddd3f
commit 47b32302f1
-3
View File
@@ -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;