delete random

This commit is contained in:
Sébastien Loriot 2022-11-16 20:05:20 +01:00
parent 792ea89790
commit 4af943d5ec
1 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,12 @@ struct TestMeshProgramInstance
numIterations = 1; numIterations = 1;
} }
~TestMeshProgramInstance()
{
if (randomizer)
delete randomizer;
}
size_t numIterations; size_t numIterations;
std::string meshName; std::string meshName;
bool debugMode; bool debugMode;