mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
AssetManager: fix deleting no file (#1358)
This commit is contained in:
parent
d2d67384a7
commit
ffa2f9986c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user