aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2010-10-26 22:35:37 +0000
committerMax Horn2010-10-26 22:35:37 +0000
commit2c99caa795e1215b2dff286f68887f45460a7edf (patch)
tree5a68585687736554fe76cc22d67a88a3daa0c120 /engines
parent7c2323bdc3163dae4f03dfc033ad7e47fb20ccda (diff)
downloadscummvm-rg350-2c99caa795e1215b2dff286f68887f45460a7edf.tar.gz
scummvm-rg350-2c99caa795e1215b2dff286f68887f45460a7edf.tar.bz2
scummvm-rg350-2c99caa795e1215b2dff286f68887f45460a7edf.zip
AGI: Fix memory leak in AgiEngine::parseFeatures()
svn-id: r53869
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/agi.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index 2cf6d2613f..c8689fd9c4 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -753,6 +753,8 @@ void AgiEngine::parseFeatures() {
}
}
}
+
+ free(features);
}
} // End of namespace Agi