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

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

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)