PARALLACTION: Fix use-after-free on quit
Parallaction::_gfx is referenced by objects destroyed when Parallaction::_input is destroyed so it cannot be destroyed first.
This commit is contained in:
parent
69df2e2d0e
commit
8da86418bf
1 changed files with 1 additions and 1 deletions
|
@ -108,10 +108,10 @@ Parallaction::~Parallaction() {
|
|||
|
||||
delete _localFlagNames;
|
||||
_char._ani.reset();
|
||||
delete _input;
|
||||
delete _gfx;
|
||||
delete _soundMan;
|
||||
delete _disk;
|
||||
delete _input;
|
||||
}
|
||||
|
||||
Common::Error Parallaction::init() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue