From c64315f83800cc4eaaeb4e528cecfaad257f3da3 Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Fri, 10 Dec 2010 19:27:44 +0000 Subject: Fix leaks in RtpVideoReaderTest. BUG=65988 TEST=unittests under heapcheck Review URL: http://codereview.chromium.org/5777001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68878 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/protocol/rtp_video_reader_unittest.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'remoting/protocol') diff --git a/remoting/protocol/rtp_video_reader_unittest.cc b/remoting/protocol/rtp_video_reader_unittest.cc index 9af3914..f88ef76 100644 --- a/remoting/protocol/rtp_video_reader_unittest.cc +++ b/remoting/protocol/rtp_video_reader_unittest.cc @@ -58,6 +58,10 @@ class RtpVideoReaderTest : public testing::Test, InitData(100); } + virtual void TearDown() { + message_loop_.RunAllPending(); + } + void Reset() { session_ = new FakeSession(); reader_.reset(new RtpVideoReader()); -- cgit v1.1