Fix RAM memory deallocation

This commit is contained in:
Blaise Tine
2021-03-09 01:52:56 -08:00
parent 848fc0c2df
commit 66ea340d05
3 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ public:
void clear() {
for (uint32_t i = 0; i < (1 << 12); i++) {
if (mem_[i]) {
delete mem_[i];
delete [] mem_[i];
mem_[i] = NULL;
}
}