diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-24 07:59:12 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-24 07:59:12 +0000 |
commit | 4dba950406ec24485d2a79a666f70859a7f0ab75 (patch) | |
tree | 17d30397fd6ebec8ade80f11e9d4c893b9bfc608 /webkit/glue/media | |
parent | b84d62f9d437e605ba0694cd9d888354fd6e025b (diff) | |
download | chromium_src-4dba950406ec24485d2a79a666f70859a7f0ab75.zip chromium_src-4dba950406ec24485d2a79a666f70859a7f0ab75.tar.gz chromium_src-4dba950406ec24485d2a79a666f70859a7f0ab75.tar.bz2 |
Fix memory leaks in BufferedDataSource, BufferedResourceLoader and SimpleDataSource unit tests.
BUG=65664
TEST=test_shell_tests + valgrind/heapcheck
Review URL: http://codereview.chromium.org/6246017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/media')
-rw-r--r-- | webkit/glue/media/buffered_data_source_unittest.cc | 1 | ||||
-rw-r--r-- | webkit/glue/media/buffered_resource_loader_unittest.cc | 2 | ||||
-rw-r--r-- | webkit/glue/media/simple_data_source_unittest.cc | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/webkit/glue/media/buffered_data_source_unittest.cc b/webkit/glue/media/buffered_data_source_unittest.cc index 8d55b4d..6e9a87d 100644 --- a/webkit/glue/media/buffered_data_source_unittest.cc +++ b/webkit/glue/media/buffered_data_source_unittest.cc @@ -105,7 +105,6 @@ class BufferedDataSourceTest : public testing::Test { } virtual ~BufferedDataSourceTest() { - ignore_result(frame_.release()); } void ExpectCreateAndStartResourceLoader(int start_error) { diff --git a/webkit/glue/media/buffered_resource_loader_unittest.cc b/webkit/glue/media/buffered_resource_loader_unittest.cc index fc8851c..4ba8a27 100644 --- a/webkit/glue/media/buffered_resource_loader_unittest.cc +++ b/webkit/glue/media/buffered_resource_loader_unittest.cc @@ -74,7 +74,6 @@ class BufferedResourceLoaderTest : public testing::Test { } virtual ~BufferedResourceLoaderTest() { - ignore_result(frame_.release()); } void Initialize(const char* url, int first_position, int last_position) { @@ -483,4 +482,3 @@ TEST_F(BufferedResourceLoaderTest, AllowDefer_DeferredReadPastWindow) { // TODO(hclam): add unit test for defer loading. } // namespace webkit_glue - diff --git a/webkit/glue/media/simple_data_source_unittest.cc b/webkit/glue/media/simple_data_source_unittest.cc index 03346bd..48131b1 100644 --- a/webkit/glue/media/simple_data_source_unittest.cc +++ b/webkit/glue/media/simple_data_source_unittest.cc @@ -56,7 +56,6 @@ class SimpleDataSourceTest : public testing::Test { } virtual ~SimpleDataSourceTest() { - ignore_result(frame_.release()); } void InitializeDataSource(const char* url, |