Fixed Valgrind warning by freeing _lines with Memory::dealloc() insead of
delete. svn-id: r29680
This commit is contained in:
parent
91c73e6c76
commit
a77f6157dc
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ TalkDialog::TalkDialog(uint16 characterId, uint16 destCharacterId, uint16 active
|
|||
}
|
||||
|
||||
TalkDialog::~TalkDialog() {
|
||||
delete _lines;
|
||||
Memory::dealloc(_lines);
|
||||
delete _surface;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue