[Scummvm-cvs-logs] scummvm master -> b91da80756f4b1baf68f0b551d25e9a54ca2a77d

wjp wjp at usecode.org
Sun Apr 21 15:35:29 CEST 2013


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:
b91da80756 AGI: Fix delete/delete[]


Commit: b91da80756f4b1baf68f0b551d25e9a54ca2a77d
    https://github.com/scummvm/scummvm/commit/b91da80756f4b1baf68f0b551d25e9a54ca2a77d
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2013-04-21T06:34:22-07:00

Commit Message:
AGI: Fix delete/delete[]

Changed paths:
    engines/agi/wagparser.cpp



diff --git a/engines/agi/wagparser.cpp b/engines/agi/wagparser.cpp
index 61feac5..8dee654 100644
--- a/engines/agi/wagparser.cpp
+++ b/engines/agi/wagparser.cpp
@@ -98,7 +98,7 @@ void WagProperty::setDefaults() {
 }
 
 void WagProperty::deleteData() {
-	delete _propData;
+	delete[] _propData;
 	_propData = NULL;
 }
 






More information about the Scummvm-git-logs mailing list