Bug 793: remove remaining memory leaks due to not cleaned Simulator

This commit is contained in:
Faker Moatamri committed 2010-01-19 17:06:18 +01:00
1 parent c0be5c00b3
commit 0a1ebfb8cc
7 files changed
+13 -6

No files matched your search

+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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