The std::map used by the factory might leak. Check that every call to "new" has its corresponding call to "delete", and that already existing PiPoCreators don't get instantiated more than once. (the constructor of PiPoHost : calls PiPoCollection::init(). What if we create a lot of hosts ?)
The std::map used by the factory might leak. Check that every call to "new" has its corresponding call to "delete", and that already existing PiPoCreators don't get instantiated more than once. (the constructor of PiPoHost : calls PiPoCollection::init(). What if we create a lot of hosts ?)