Skip to content

improve PiPoCollection.cpp #5

@josephlarralde

Description

@josephlarralde

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 ?)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions