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

+3
View File
@@ -560,6 +560,7 @@ void
AddressAllocatorTestCase::DoTeardown (void)
{
Ipv4AddressGenerator::Reset ();
Simulator::Destroy ();
}
@@ -579,6 +580,7 @@ void
NetworkAndAddressTestCase::DoTeardown (void)
{
Ipv4AddressGenerator::Reset ();
Simulator::Destroy ();
}
bool
@@ -695,6 +697,7 @@ void
AddressCollisionTestCase::DoTeardown (void)
{
Ipv4AddressGenerator::Reset ();
Simulator::Destroy ();
}
bool
AddressCollisionTestCase::DoRun (void)