aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/rel.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2007-12-13 10:06:53 +0000
committerFilippos Karapetis2007-12-13 10:06:53 +0000
commit8968f7e616d10595f651b282e921a364ea93f97b (patch)
tree498e0950f499d5fbbfb0f8ea6f8ad15d6c003233 /engines/cine/rel.cpp
parent0f16772c4628d8f76eb866deb40b2bf802d95428 (diff)
downloadscummvm-rg350-8968f7e616d10595f651b282e921a364ea93f97b.tar.gz
scummvm-rg350-8968f7e616d10595f651b282e921a364ea93f97b.tar.bz2
scummvm-rg350-8968f7e616d10595f651b282e921a364ea93f97b.zip
Changed the C style malloc/free to the C++ style new/delete
svn-id: r29841
Diffstat (limited to 'engines/cine/rel.cpp')
-rw-r--r--engines/cine/rel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/rel.cpp b/engines/cine/rel.cpp
index 15697c2cf1..c9c5755ac6 100644
--- a/engines/cine/rel.cpp
+++ b/engines/cine/rel.cpp
@@ -48,7 +48,7 @@ void releaseObjectScripts(void) {
temp = currentHead->next;
- free(currentHead);
+ delete currentHead;
currentHead = temp;
}