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