summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remoting/host/session_manager_unittest.cc11
-rw-r--r--tools/valgrind/memcheck/suppressions.txt24
2 files changed, 1 insertions, 34 deletions
diff --git a/remoting/host/session_manager_unittest.cc b/remoting/host/session_manager_unittest.cc
index 7e74e96..cc4cff1 100644
--- a/remoting/host/session_manager_unittest.cc
+++ b/remoting/host/session_manager_unittest.cc
@@ -68,16 +68,7 @@ ACTION_P(FinishEncode, msg) {
Encoder::EncodingInProgress |
Encoder::EncodingEnded);
arg2->Run(msg, state);
-}
-
-ACTION_P(AssignCaptureData, data) {
- arg0[0] = data[0];
- arg0[1] = data[1];
- arg0[2] = data[2];
-}
-
-ACTION_P(AssignDirtyRect, rects) {
- *arg0 = *rects;
+ delete arg2;
}
TEST_F(SessionManagerTest, OneRecordCycle) {
diff --git a/tools/valgrind/memcheck/suppressions.txt b/tools/valgrind/memcheck/suppressions.txt
index c8e8395..2eec0a6 100644
--- a/tools/valgrind/memcheck/suppressions.txt
+++ b/tools/valgrind/memcheck/suppressions.txt
@@ -3543,18 +3543,6 @@
fun:_ZN4base19MessagePumpLibevent22OnLibeventNotificationEisPv
}
{
- bug_46678
- Memcheck:Leak
- fun:_Znw*
- fun:_Z11NewCallbackIN8remoting14SessionManager*
- fun:_ZN8remoting14SessionManager8DoEncodeE13scoped_refptrINS_11CaptureDataEE
- fun:_Z16DispatchToMethodIN8remoting14SessionManagerEMS1_Fv13scoped_refptrINS0_11CaptureDataEEES4_EvPT_T0_RK6Tuple1IT1_E
- fun:_ZN14RunnableMethodIN8remoting14SessionManagerEMS1_Fv13scoped_refptrINS0_11CaptureDataEEE6Tuple1IS4_EE3RunEv
- fun:_ZN11MessageLoop7RunTaskEP4Task
- ...
- fun:_ZN8remoting38SessionManagerTest_OneRecordCycle_Test8TestBodyEv
-}
-{
bug_47331_part_1
Memcheck:Leak
fun:malloc
@@ -4230,18 +4218,6 @@
fun:_ZN14RenderViewHost25CreateNewFullscreenWidgetEiN6WebKit12WebPopupTypeE
}
{
- bug_53277
- Memcheck:Leak
- fun:_Znw*
- fun:_Z11NewCallbackIN8remoting14SessionManagerEPNS0_21ChromotingHostMessageEiEPN9Callback2IT0_T1_E4TypeEPT_MSA_FvS5_S6_E
- fun:_ZN8remoting14SessionManager8DoEncodeE13scoped_refptrINS_11CaptureDataEE
- fun:_Z16DispatchToMethodIN8remoting14SessionManagerEMS1_Fv13scoped_refptrINS0_11CaptureDataEEES4_EvPT_T0_RK6Tuple1IT1_E
- fun:_ZN14RunnableMethodIN8remoting14SessionManagerEMS1_Fv13scoped_refptrINS0_11CaptureDataEEE6Tuple1IS4_EE3RunEv
- fun:_ZN11MessageLoop7RunTaskEP4Task
- ...
- fun:_ZN8remoting38SessionManagerTest_OneRecordCycle_Test8TestBodyEv
-}
-{
bug_53349
Memcheck:Addr4
fun:PL_HashTableLookupConst