From 6aab7bf2f26f2869d311ada67b5b35d88f81f1ff Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 20 May 2017 03:57:17 -0500 Subject: [PATCH] Fix m_store delete to use delete[] --- deps/ox/src/ox/fs/filesystem.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }