diff options
author | Torbjörn Andersson | 2007-12-01 15:37:48 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-12-01 15:37:48 +0000 |
commit | a77f6157dc1fce96e9c376aa2d17aeb209eaadfa (patch) | |
tree | cf77522c8ef1dd625b21ae0a2d1b276e5a550674 | |
parent | 91c73e6c76722d4842ac4cec017d08128f1752b6 (diff) | |
download | scummvm-rg350-a77f6157dc1fce96e9c376aa2d17aeb209eaadfa.tar.gz scummvm-rg350-a77f6157dc1fce96e9c376aa2d17aeb209eaadfa.tar.bz2 scummvm-rg350-a77f6157dc1fce96e9c376aa2d17aeb209eaadfa.zip |
Fixed Valgrind warning by freeing _lines with Memory::dealloc() insead of
delete.
svn-id: r29680
-rw-r--r-- | engines/lure/surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index 5e45bf9790..1b43b3e3ae 100644 --- a/engines/lure/surface.cpp +++ b/engines/lure/surface.cpp @@ -612,7 +612,7 @@ TalkDialog::TalkDialog(uint16 characterId, uint16 destCharacterId, uint16 active } TalkDialog::~TalkDialog() { - delete _lines; + Memory::dealloc(_lines); delete _surface; } |