Fix increased leaks in domainsMaps test due to #860.
Merge pull request #895 from hildeth/fixIncreasedLeaksDomainMaps

Fix increased leaks in domainsMaps test due to #860.