mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
AssetManager: fix deleting no file (#1358)
This commit is contained in:
@@ -26,7 +26,7 @@ struct AssetMemoryBuffer : std::streambuf {
|
||||
}
|
||||
|
||||
~AssetMemoryBuffer() {
|
||||
free(m_Base);
|
||||
if (m_Success) free(m_Base);
|
||||
}
|
||||
|
||||
pos_type seekpos(pos_type sp, std::ios_base::openmode which) override {
|
||||
|
Reference in New Issue
Block a user