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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user