Fixed Valgrind warning by freeing _lines with Memory::dealloc() insead of

delete.

svn-id: r29680
This commit is contained in:
Torbjörn Andersson 2007-12-01 15:37:48 +00:00
parent 91c73e6c76
commit a77f6157dc

View file

@ -612,7 +612,7 @@ TalkDialog::TalkDialog(uint16 characterId, uint16 destCharacterId, uint16 active
}
TalkDialog::~TalkDialog() {
delete _lines;
Memory::dealloc(_lines);
delete _surface;
}