aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/agos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index 300cd28ee4..97c594684c 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -911,7 +911,7 @@ AGOSEngine::~AGOSEngine() {
_window6BackScn->free();
delete _window6BackScn;
- free(_midi);
+ delete _midi;
free(_firstTimeStruct);
free(_pendingDeleteTimeEvent);