Fix memory leak in mixins

This commit is contained in:
Magnus Norddahl 2025-03-16 18:54:35 +01:00 committed by Ricardo Luís Vaz Silva
parent 43031375f4
commit b4c3d2331e

View file

@ -597,8 +597,13 @@ ZCCCompiler::~ZCCCompiler()
{
delete c;
}
for (auto m : Mixins)
{
delete m;
}
Structs.Clear();
Classes.Clear();
Mixins.Clear();
}
//==========================================================================