diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-03 16:35:05 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-03 16:35:05 +0000 |
commit | fa306f4ba7bf2e5b6e244b00929b311100a5a3d6 (patch) | |
tree | 875b353f690c48f4bae15eab29edd07307c79020 /remoting | |
parent | 04906d3ef0c94e1efcb09f57b928c57627467ceb (diff) | |
download | chromium_src-fa306f4ba7bf2e5b6e244b00929b311100a5a3d6.zip chromium_src-fa306f4ba7bf2e5b6e244b00929b311100a5a3d6.tar.gz chromium_src-fa306f4ba7bf2e5b6e244b00929b311100a5a3d6.tar.bz2 |
Fix valgrind memory leak in session_manager_unittest.
BUG=46678,53277
TEST=remove 2 suppressions, run valgrind linux
Review URL: http://codereview.chromium.org/3170049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58496 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/session_manager_unittest.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/remoting/host/session_manager_unittest.cc b/remoting/host/session_manager_unittest.cc index 7e74e96..cc4cff1 100644 --- a/remoting/host/session_manager_unittest.cc +++ b/remoting/host/session_manager_unittest.cc @@ -68,16 +68,7 @@ ACTION_P(FinishEncode, msg) { Encoder::EncodingInProgress | Encoder::EncodingEnded); arg2->Run(msg, state); -} - -ACTION_P(AssignCaptureData, data) { - arg0[0] = data[0]; - arg0[1] = data[1]; - arg0[2] = data[2]; -} - -ACTION_P(AssignDirtyRect, rects) { - *arg0 = *rects; + delete arg2; } TEST_F(SessionManagerTest, OneRecordCycle) { |