Bug 793: remove remaining memory leaks due to not cleaned Simulator
This commit is contained in:
1 parent
c0be5c00b3
commit
0a1ebfb8cc
7 files changed
+13
-6
No files matched your search
@@ -94,7 +94,7 @@ Ipv4L3ProtocolTestCase::DoRun (void)
|
||||
Ipv4InterfaceAddress output = interface->GetAddress (2);
|
||||
NS_TEST_ASSERT_MSG_EQ (ifaceAddr4, output,
|
||||
"The addresses should be identical");
|
||||
|
||||
Simulator::Destroy ();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ Ipv6L3ProtocolTestCase::DoRun ()
|
||||
|
||||
index = ipv6->GetInterfaceForAddress ("2001:ffff:5678:9000::1"); /* address we just remove */
|
||||
NS_TEST_ASSERT_MSG_EQ (index, (uint32_t) -1, "Address should not be found??");
|
||||
|
||||
Simulator::Destroy ();
|
||||
return false;
|
||||
}//end DoRun
|
||||
static class IPv6L3ProtocolTestSuite : public TestSuite
|
||||
|
||||
Reference in new issue
Block a user