gecko-dev/media/mtransport/test
David Keeler 0375f07548 bug 1432923 - fix a leak in some TransportTests r=drno
Before this patch, TransportTest::Reset would assign to p1_ and p2_ without
releasing their resources first. Since they're not RAII types, they would just
leak. This fixes the leak by a) explicitly initializing them to nullptr in the
constructor and b) deleting them if they previously had a non-null value.

MozReview-Commit-ID: 20U6sqRWg06

--HG--
extra : rebase_source : e304c7636a9b31df53d3ff0e8d7e0042f7e82494
2018-01-25 16:56:56 -08:00
..
TestSyncRunnable.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
buffered_stun_socket_unittest.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
dummysocket.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
gtest_ringbuffer_dumper.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
gtest_utils.h Bug 1239870 - Part 3: Add a base mtransport gtest. r=bwc 2016-02-25 14:25:49 -08:00
ice_unittest.cpp Bug 1372977 - Use nullptr in /media and /dom/media (clang-tidy: modernize-use-nullptr). r=bwc 2017-06-28 15:38:00 -04:00
moz.build Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
mtransport_test_utils.h Bug 1193762 part 8 - Fix things that will break; r=froydnj 2016-05-01 21:29:23 +03:00
multi_tcp_socket_unittest.cpp Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in media/mtransport/ r=bwc=jesup 2017-02-13 14:42:00 +01:00
nrappkit_unittest.cpp Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures 2016-02-26 17:14:57 -08:00
proxy_tunnel_socket_unittest.cpp Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup 2016-03-02 15:28:27 -05:00
rlogconnector_unittest.cpp Bug 1309129: enable redirecting of nICEr logging to NSPR logging. r=bwc 2016-10-11 00:17:26 -07:00
runnable_utils_unittest.cpp Bug 1329932 - Remove unneeded nsXPCOMGlue includes. r=glandium 2017-01-10 18:40:50 +09:00
sctp_unittest.cpp Bug 1404198: Part 2g - Switch to NS_NewTimer* in media. r=njn 2017-10-15 23:14:33 -07:00
simpletokenbucket_unittest.cpp Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures 2016-02-26 17:14:57 -08:00
sockettransportservice_unittest.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
stunserver.cpp Bug 1372977 - Use nullptr in /media and /dom/media (clang-tidy: modernize-use-nullptr). r=bwc 2017-06-28 15:38:00 -04:00
stunserver.h Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup 2016-03-02 15:28:27 -05:00
test_nr_socket_ice_unittest.cpp Bug 1387002 - Replace .size() by .empty() when applicable in webrtc & mtransport r=jesup 2017-08-04 09:36:19 +02:00
test_nr_socket_unittest.cpp Bug 1252163: Fix CheckTcpConnectivity to wait for readable/writeable when necessary. r=drno 2016-02-29 12:33:47 -06:00
transport_unittests.cpp bug 1432923 - fix a leak in some TransportTests r=drno 2018-01-25 16:56:56 -08:00
turn_unittest.cpp Bug 906986 - Ice restart and tests. r=bwc, r=drno, r=smaug 2016-04-08 09:20:53 -05:00