[Scummvm-git-logs] scummvm master -> 5220c16e40a8d36dfa448d40e0c2bb4e349f1430

phcoder noreply at scummvm.org
Wed Nov 30 11:36:34 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5220c16e40 COMMON: Fix delete[]/new[] mismatch in clickteam


Commit: 5220c16e40a8d36dfa448d40e0c2bb4e349f1430
    https://github.com/scummvm/scummvm/commit/5220c16e40a8d36dfa448d40e0c2bb4e349f1430
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2022-11-30T12:36:23+01:00

Commit Message:
COMMON: Fix delete[]/new[] mismatch in clickteam

Changed paths:
    common/clickteam.h


diff --git a/common/clickteam.h b/common/clickteam.h
index ab89b172742..aa3e67f4a50 100644
--- a/common/clickteam.h
+++ b/common/clickteam.h
@@ -49,7 +49,7 @@ public:
 		uint32 _size;
 
 		~ClickteamTag() {
-			delete _contents;
+			delete[] _contents;
 		}
 	};
 




More information about the Scummvm-git-logs mailing list