summaryrefslogtreecommitdiffstats
path: root/chrome/common/ipc_sync_channel_unittest.cc
diff options
context:
space:
mode:
authorjabdelmalek@google.com <jabdelmalek@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 20:20:52 +0000
committerjabdelmalek@google.com <jabdelmalek@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 20:20:52 +0000
commit463667376af6eddfb6f0707c49041c7e1ea16d21 (patch)
tree3629bbc06234f941022ecb8fe93a732ce84c6fd1 /chrome/common/ipc_sync_channel_unittest.cc
parent1037de7e1d08d546236d7d485c60efb7e619d1fd (diff)
downloadchromium_src-463667376af6eddfb6f0707c49041c7e1ea16d21.zip
chromium_src-463667376af6eddfb6f0707c49041c7e1ea16d21.tar.gz
chromium_src-463667376af6eddfb6f0707c49041c7e1ea16d21.tar.bz2
Fix a leak in newly added sync channel unit tests.
BUG=1334220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1103 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/ipc_sync_channel_unittest.cc')
-rw-r--r--chrome/common/ipc_sync_channel_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/ipc_sync_channel_unittest.cc b/chrome/common/ipc_sync_channel_unittest.cc
index 78d825c..b4c1541 100644
--- a/chrome/common/ipc_sync_channel_unittest.cc
+++ b/chrome/common/ipc_sync_channel_unittest.cc
@@ -677,6 +677,7 @@ class UnresponsiveClient : public Worker {
Send(reply_msg);
} else {
// Don't reply.
+ delete reply_msg;
}
timeout_seq_.erase(timeout_seq_.begin());
if (timeout_seq_.empty())