diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-17 22:41:11 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-17 22:41:11 +0000 |
commit | eca2fd07582788ae7463e581d8423b3c4eb176d3 (patch) | |
tree | fd9ec148794581ef17e090ae2931cb205ee75d4b /remoting | |
parent | 76697525b9e553a0473b17c9bd3384940300edf0 (diff) | |
download | chromium_src-eca2fd07582788ae7463e581d8423b3c4eb176d3.zip chromium_src-eca2fd07582788ae7463e581d8423b3c4eb176d3.tar.gz chromium_src-eca2fd07582788ae7463e581d8423b3c4eb176d3.tar.bz2 |
Fixing a memory leak in DaemonProcessTest.
BUG=156479,134694
Review URL: https://codereview.chromium.org/11195030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/daemon_process_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/host/daemon_process_unittest.cc b/remoting/host/daemon_process_unittest.cc index 29a1dd2..edbc8e2 100644 --- a/remoting/host/daemon_process_unittest.cc +++ b/remoting/host/daemon_process_unittest.cc @@ -100,6 +100,7 @@ bool MockDaemonProcess::OnMessageReceived(const IPC::Message& message) { void MockDaemonProcess::SendToNetwork(IPC::Message* message) { // Notify the mock method. Sent(*message); + delete message; } } // namespace |