summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 21:31:08 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 21:31:08 +0000
commit2307f147f598b97e3aa615738c7c74228d21efed (patch)
tree9f927506df1bae708868d527d0ed2e3244d856fd
parent41e13b362dfdb486dd1f8bd59375c7cce4718258 (diff)
downloadchromium_src-2307f147f598b97e3aa615738c7c74228d21efed.zip
chromium_src-2307f147f598b97e3aa615738c7c74228d21efed.tar.gz
chromium_src-2307f147f598b97e3aa615738c7c74228d21efed.tar.bz2
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
-rw-r--r--remoting/host/session_manager.cc1
1 files changed, 0 insertions, 1 deletions
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<ClientConnection> client,