diff options
| author | coco875 <pereira.jannin@gmail.com> | 2025-12-22 18:04:34 +0100 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-12-22 11:21:52 -0600 |
| commit | 15f7373dd0d59b2fc1dd880ac679f68c888e1a7e (patch) | |
| tree | 6f1c7571c224ecbc4d841923ca70baa45a1849ee /src/utils/Decompressor.cpp | |
| parent | 0c6e9523b332fa8a23bb82d25ff2e2bfa8b33b1d (diff) | |
better destructor
Diffstat (limited to 'src/utils/Decompressor.cpp')
| -rw-r--r-- | src/utils/Decompressor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/Decompressor.cpp b/src/utils/Decompressor.cpp index 5139fcc..f69872b 100644 --- a/src/utils/Decompressor.cpp +++ b/src/utils/Decompressor.cpp @@ -222,7 +222,7 @@ bool Decompressor::IsSegmented(uint32_t addr) { void Decompressor::ClearCache() { for(auto& [key, value] : gCachedChunks){ - delete value->data; + delete[] value->data; } gCachedChunks.clear(); }
\ No newline at end of file |
