From 724a702fdfb5cd635706403829f8770bb3a3de8d Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sat, 30 Oct 2010 16:04:43 +0000 Subject: HUGO: Free memory on exit svn-id: r53945 --- engines/hugo/hugo.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'engines/hugo/hugo.h') diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h index 2be56e345d..7a73c70622 100644 --- a/engines/hugo/hugo.h +++ b/engines/hugo/hugo.h @@ -139,17 +139,23 @@ public: char **_textSchedule; char **_textUtil; char ***_arrayNouns; + uint16 _arrayNounsSize; char ***_arrayVerbs; + uint16 _arrayVerbsSize; uint16 **_arrayReqs; hotspot_t *_hotspots; int16 *_invent; uses_t *_uses; background_t *_catchallList; background_t **_backgroundObjects; + uint16 _backgroundObjectsSize; point_t *_points; cmd **_cmdList; + uint16 _cmdListSize; uint16 **_screenActs; + uint16 _screenActsSize; act **_actListArr; + uint16 _actListArrSize; int16 *_defltTunes; uint16 _look; uint16 _take; @@ -287,7 +293,7 @@ private: int _maxscore; // Holds maximum score char **loadTextsVariante(Common::File &in, uint16 *arraySize); - char ***loadTextsArray(Common::File &in); + char ***loadTextsArray(Common::File &in, uint16 *arraySize); uint16 **loadLongArray(Common::File &in); char **loadTexts(Common::File &in); void freeTexts(char **ptr); -- cgit v1.2.3