aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-04-21 15:34:22 +0200
committerWillem Jan Palenstijn2013-04-21 15:34:22 +0200
commitb91da80756f4b1baf68f0b551d25e9a54ca2a77d (patch)
treee0b2b68ae0ced15173e750ef338daf495db6deb4 /engines
parent9ffec86b5d612067f3f8a0a0126a3000c22965ff (diff)
downloadscummvm-rg350-b91da80756f4b1baf68f0b551d25e9a54ca2a77d.tar.gz
scummvm-rg350-b91da80756f4b1baf68f0b551d25e9a54ca2a77d.tar.bz2
scummvm-rg350-b91da80756f4b1baf68f0b551d25e9a54ca2a77d.zip
AGI: Fix delete/delete[]
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/wagparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/wagparser.cpp b/engines/agi/wagparser.cpp
index 61feac5d17..8dee6545c0 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;
}