diff --git a/source/common/textures/textures.h b/source/common/textures/textures.h index d4b44b5b1..ef12b0370 100644 --- a/source/common/textures/textures.h +++ b/source/common/textures/textures.h @@ -489,7 +489,7 @@ struct BuildFiles } ~BuildFiles() { - if (Placeholder) delete Placeholder; + CloseAll(); } void CloseAll();