Bug 916187. Part 3. Double checking for leaks in new test stun server code, and fixing other things as I see them. r=abr

This commit is contained in:
Byron Campen [:bwc] 2013-09-18 12:54:38 -07:00
parent 18a2f387e5
commit afee28372e

View File

@ -191,6 +191,7 @@ class IceTestPeer : public sigslot::has_slots<> {
PRNetAddr addr;
PRStatus status = PR_StringToNetAddr(kDefaultStunServerAddress.c_str(),
&addr);
addr.inet.port = kDefaultStunServerPort;
ASSERT_EQ(PR_SUCCESS, status);
fake_resolver_.SetAddr(kDefaultStunServerHostname, addr);
ASSERT_TRUE(NS_SUCCEEDED(ice_ctx_->SetResolver(