summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 19:32:12 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 19:32:12 +0000
commitfca868203103ef3d0accbe6dded134364dc222f3 (patch)
tree49d463c6b4dc6f8ebdd23faae8e9aca5efd59dc2
parent2c40c625797c89633d41849b707e500a544a7317 (diff)
downloadchromium_src-fca868203103ef3d0accbe6dded134364dc222f3.zip
chromium_src-fca868203103ef3d0accbe6dded134364dc222f3.tar.gz
chromium_src-fca868203103ef3d0accbe6dded134364dc222f3.tar.bz2
Leaks found in PrefValueStoreTest tests
Suppresses leaks apparently introduced in revision 54902. http://codereview.chromium.org/2858060 BUG=51176, 45324 TEST=Run Valgrind. No leaks reported. PrefValueStoreTest.TestRefreshPolicyPrefsCompletion, PrefValueStoreTest.TestRefreshPolicyPrefsCompletion, PrefValueStoreTest.TestConcurrentPolicyRefresh Review URL: http://codereview.chromium.org/3076030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54943 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/heapcheck/suppressions.txt18
-rw-r--r--tools/valgrind/memcheck/suppressions.txt47
2 files changed, 65 insertions, 0 deletions
diff --git a/tools/heapcheck/suppressions.txt b/tools/heapcheck/suppressions.txt
index 2c11c58..b8d0370 100644
--- a/tools/heapcheck/suppressions.txt
+++ b/tools/heapcheck/suppressions.txt
@@ -945,3 +945,21 @@
...
fun:safe_browsing::PhishingDOMFeatureExtractorTest::SetUp
}
+{
+ bug_51176_a
+ Heapcheck:Leak
+ fun:Callback1::Type* NewCallback
+ fun:PrefValueStoreTest_TestPolicyRefresh_Test::TestBody
+}
+{
+ bug_51176_b
+ Heapcheck:Leak
+ fun:Callback1::Type* NewCallback
+ fun:PrefValueStoreTest_TestRefreshPolicyPrefsCompletion_Test::TestBody
+}
+{
+ bug_51176_c
+ Heapcheck:Leak
+ fun:Callback1::Type* NewCallback
+ fun:PrefValueStoreTest_TestConcurrentPolicyRefresh_Test::TestBody
+}
diff --git a/tools/valgrind/memcheck/suppressions.txt b/tools/valgrind/memcheck/suppressions.txt
index c27c19b..76f1dc5 100644
--- a/tools/valgrind/memcheck/suppressions.txt
+++ b/tools/valgrind/memcheck/suppressions.txt
@@ -3869,3 +3869,50 @@
fun:_ZN11MessageLoop11RunInternalEv
fun:_ZN11MessageLoop10RunHandlerEv
}
+{
+ bug_51134_a
+ Memcheck:Leak
+ fun:_Znw*
+ fun:_ZN8chromeos24UserCrosSettingsProviderC1Ev
+ fun:_ZN8chromeos12CrosSettingsC1Ev
+ fun:_ZN22DefaultSingletonTraitsIN8chromeos12CrosSettingsEE3NewEv
+}
+{
+ bug_51134_b
+ Memcheck:Leak
+ fun:_Znw*
+ fun:_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKSsP5ValueEEE8allocateEjPKv
+ fun:_ZNSt8_Rb_treeISsSt4pairIKSsP5ValueESt10_Select1stIS4_ESt4lessISsESaIS4_EE11_M_get_nodeEv
+ fun:_ZNSt8_Rb_treeISsSt4pairIKSsP5ValueESt10_Select1stIS4_ESt4lessISsESaIS4_EE14_M_create_nodeERKS4_
+ fun:_ZNSt8_Rb_treeISsSt4pairIKSsP5ValueESt10_Select1stIS4_ESt4lessISsESaIS4_EE9_M_insertEPSt18_Rb_tree_node_baseSC_RKS4_
+ fun:_ZNSt8_Rb_treeISsSt4pairIKSsP5ValueESt10_Select1stIS4_ESt4lessISsESaIS4_EE16_M_insert_uniqueESt17_Rb_tree_iteratorIS4_ERKS4_
+ fun:_ZNSt3mapISsP5ValueSt4lessISsESaISt4pairIKSsS1_EEE6insertESt17_Rb_tree_iteratorIS6_ERKS6_
+ fun:_ZNSt3mapISsP5ValueSt4lessISsESaISt4pairIKSsS1_EEEixERS5_
+ fun:_ZN15DictionaryValue23SetWithoutPathExpansionERKSsP5Value
+ fun:_ZN15DictionaryValue3SetERKSsP5Value
+ fun:_ZN15DictionaryValue3SetERKSbIwSt11char_traitsIwESaIwEEP5Value
+ fun:_ZN8chromeos24UserCrosSettingsProvider3SetERKSbIwSt11char_traitsIwESaIwEEP5Value
+ fun:_ZN8chromeos24UserCrosSettingsProviderC1Ev
+ fun:_ZN8chromeos12CrosSettingsC1Ev
+ fun:_ZN22DefaultSingletonTraitsIN8chromeos12CrosSettingsEE3NewEv
+ fun:_ZN9SingletonIN8chromeos12CrosSettingsE22DefaultSingletonTraitsIS1_ES1_E3getEv
+ fun:_ZN8chromeos12CrosSettings3GetEv
+}
+{
+ bug_51176_a
+ Memcheck:Leak
+ fun:_Znw*
+ fun:_ZN51PrefValueStoreTest_TestConcurrentPolicyRefresh_Test8TestBodyEv
+}
+{
+ bug_51176_b
+ Memcheck:Leak
+ fun:_Znw*
+ fun:_ZN41PrefValueStoreTest_TestPolicyRefresh_Test8TestBodyEv
+}
+{
+ bug_51176_c
+ Memcheck:Leak
+ fun:_Znw*
+ fun:_ZN56PrefValueStoreTest_TestRefreshPolicyPrefsCompletion_Test8TestBodyEv
+}