MCPcopy Create free account
hub / github.com/csmith-project/csmith / doFinalization

Method doFinalization

src/RandomNumber.cpp:168–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void
169RandomNumber::doFinalization()
170{
171 unsigned int count = AbsRndNumGenerator::count();
172 AbsRndNumGenerator *generator;
173
174 for (unsigned int i = 0; i < count; ++i) {
175 RNDNUM_GENERATOR rImpl = static_cast<RNDNUM_GENERATOR>(i);
176 generator = instance_->generators_[rImpl];
177 if (generator != NULL) {
178 delete generator;
179 }
180 }
181 delete instance_;
182}
183

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected