diff options
author | Arnaud Boutonné | 2010-11-09 23:31:08 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-11-09 23:31:08 +0000 |
commit | 95a58b24712ee0f3801485be1534ade0b733017e (patch) | |
tree | 858c0c8079e5db67580d4b5e3dab9d0392f720f7 | |
parent | e8e23a83e91d6b527f4a76eb2771f8ec1732c956 (diff) | |
download | scummvm-rg350-95a58b24712ee0f3801485be1534ade0b733017e.tar.gz scummvm-rg350-95a58b24712ee0f3801485be1534ade0b733017e.tar.bz2 scummvm-rg350-95a58b24712ee0f3801485be1534ade0b733017e.zip |
HUGO: Fix the last leaks in H1 Dos
Thanks Hkz for the help!
svn-id: r54175
-rw-r--r-- | engines/hugo/hugo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp index 445a8d7b25..5c1b7d8d4e 100644 --- a/engines/hugo/hugo.cpp +++ b/engines/hugo/hugo.cpp @@ -88,13 +88,13 @@ HugoEngine::~HugoEngine() { if (_arrayNouns) { for (int i = 0; _arrayNouns[i]; i++) - free(_arrayNouns[i]); + freeTexts(_arrayNouns[i]); free(_arrayNouns); } if (_arrayVerbs) { for (int i = 0; _arrayVerbs[i]; i++) - free(_arrayVerbs[i]); + freeTexts(_arrayVerbs[i]); free(_arrayVerbs); } |