diff --git a/dCommon/dClient/AssetManager.h b/dCommon/dClient/AssetManager.h index bc7e5ff7..d2543489 100644 --- a/dCommon/dClient/AssetManager.h +++ b/dCommon/dClient/AssetManager.h @@ -42,7 +42,7 @@ struct AssetMemoryBuffer : std::streambuf { } void close() { - delete m_Base; + free(m_Base); } };