From 2b4fbb2816351e9acab8f84b902f00c475cc0ab0 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 2 Jan 2022 12:20:51 +0200 Subject: [PATCH] Use correct delete operator in RawData --- source/rawdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rawdata.cpp b/source/rawdata.cpp index de4d7c2..a8eb5f1 100644 --- a/source/rawdata.cpp +++ b/source/rawdata.cpp @@ -14,7 +14,7 @@ const char RawData::signature[4] = { 'M', 'D', 'R', 1 }; RawData::~RawData() { - delete owned_data; + delete[] owned_data; delete compressed; if(in_owned) delete in; -- 2.45.2