From 47b32302f1ab40255c63da57ee2129b945c3765e Mon Sep 17 00:00:00 2001 From: Anubisss Date: Mon, 17 May 2010 15:58:12 +0200 Subject: 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 --- src/trinityrealm/RealmSocket.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3