summaryrefslogtreecommitdiffstats
path: root/tools/heapcheck
diff options
context:
space:
mode:
authornhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-14 07:45:00 +0000
committernhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-14 07:45:00 +0000
commite375b8a4106fe8caad88d80f33576835b6a0bf74 (patch)
tree2cea9a99182d34e420021a21d0af0d962d86fa89 /tools/heapcheck
parent57e1afb55742fecf4844acf8508f50a07d200926 (diff)
downloadchromium_src-e375b8a4106fe8caad88d80f33576835b6a0bf74.zip
chromium_src-e375b8a4106fe8caad88d80f33576835b6a0bf74.tar.gz
chromium_src-e375b8a4106fe8caad88d80f33576835b6a0bf74.tar.bz2
SyncFS: Fix memory leaks on unit_tests
SyncFileSystemBackend posts a delete task to the IO thread, but some tests do not wait for completion of the task and it causes memory leaks. This change makes them wait for completion. BUG=282646 TEST=unit_tests --gtest_filter=DeclarativeContentRulesRegistryTest.* TEST=unit_tests --gtest_filter=DeclarativeContentActionTest.* TEST=unit_tests --gtest_filter=SavedFilesServiceUnitTest.* Review URL: https://codereview.chromium.org/71223003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/heapcheck')
-rw-r--r--tools/heapcheck/suppressions.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/heapcheck/suppressions.txt b/tools/heapcheck/suppressions.txt
index 76dd000..4c44703 100644
--- a/tools/heapcheck/suppressions.txt
+++ b/tools/heapcheck/suppressions.txt
@@ -824,22 +824,6 @@
fun:SavedFilesServiceUnitTest::SavedFilesServiceUnitTest
}
{
- bug_282646
- Heapcheck:Leak
- ...
- fun:SyncFileSystemBackend
- fun:chrome::ChromeContentBrowserClient::GetAdditionalFileSystemBackends
- fun:content::CreateFileSystemContext
- fun:content::StoragePartitionImpl::Create
- fun:content::StoragePartitionImplMap::Get
- fun:GetStoragePartitionFromConfig
- fun:content::BrowserContext::GetStoragePartitionForSite
- fun:ExtensionService::NotifyExtensionUnloaded
- fun:ExtensionService::UnloadExtension
- fun:ExtensionService::AddExtension
- fun:extensions::TestExtensionEnvironment::MakeExtension
-}
-{
bug_286185
Heapcheck:Leak
fun:sqlite3MemMalloc