diff --git a/deps/ox/src/ox/fs/filesystem.hpp b/deps/ox/src/ox/fs/filesystem.hpp index 437d2e87..704be7a8 100644 --- a/deps/ox/src/ox/fs/filesystem.hpp +++ b/deps/ox/src/ox/fs/filesystem.hpp @@ -348,7 +348,7 @@ FileSystemTemplate::FileSystemTemplate(uint8_t *buff, bool o template FileSystemTemplate::~FileSystemTemplate() { if (m_ownsBuff) { - delete (uint8_t*) m_store; + delete[] (uint8_t*) m_store; } }