From 2307f147f598b97e3aa615738c7c74228d21efed Mon Sep 17 00:00:00 2001 From: "hclam@chromium.org" Date: Wed, 16 Jun 2010 21:31:08 +0000 Subject: Fix double deletion in SessionManager SessionManaerTest::OneRecordCycle is broken due to double deletion. TEST=remoting_unittests passes TBR=dmaclach since this is <= 5 lines. Review URL: http://codereview.chromium.org/2850008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50033 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/session_manager.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'remoting') diff --git a/remoting/host/session_manager.cc b/remoting/host/session_manager.cc index ec2e7dc..cd6fc47 100644 --- a/remoting/host/session_manager.cc +++ b/remoting/host/session_manager.cc @@ -222,7 +222,6 @@ void SessionManager::DoSendUpdate(const UpdateStreamPacketHeader* header, clients_[i]->SendEndUpdateStreamMessage(); } } - delete header; } void SessionManager::DoSendInit(scoped_refptr client, -- cgit v1.1