aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/script.h
diff options
context:
space:
mode:
authorAndrew Kurushin2010-10-20 20:53:32 +0000
committerAndrew Kurushin2010-10-20 20:53:32 +0000
commit6be5d2554dc930ff50d3b31fabd3294e1fd13fa9 (patch)
tree40954783ad52aba9e192046d524dc2ab769669bb /engines/saga/script.h
parent308ec17a0564b8328a5163d493211b21b5df2ec5 (diff)
downloadscummvm-rg350-6be5d2554dc930ff50d3b31fabd3294e1fd13fa9.tar.gz
scummvm-rg350-6be5d2554dc930ff50d3b31fabd3294e1fd13fa9.tar.bz2
scummvm-rg350-6be5d2554dc930ff50d3b31fabd3294e1fd13fa9.zip
SAGA: replace StringTable "::realloc" with Common::Array; reduce amount of memory for every string table
svn-id: r53651
Diffstat (limited to 'engines/saga/script.h')
-rw-r--r--engines/saga/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/script.h b/engines/saga/script.h
index 21afeb5c44..56261a9365 100644
--- a/engines/saga/script.h
+++ b/engines/saga/script.h
@@ -159,7 +159,7 @@ struct ModuleData {
StringsTable strings;
VoiceLUT voiceLUT;
void freeMem() {
- strings.freeMem();
+ strings.clear();
voiceLUT.freeMem();
free(moduleBase);
free(entryPoints);