SCI32: Fix crash when destroying GfxTransitions32
This commit is contained in:
parent
2071196f42
commit
10f9cb7023
1 changed files with 3 additions and 3 deletions
|
@ -60,9 +60,9 @@ GfxTransitions32::GfxTransitions32(SegManager *segMan) :
|
|||
}
|
||||
|
||||
GfxTransitions32::~GfxTransitions32() {
|
||||
for (ShowStyleList::iterator it = _showStyles.begin(); it != _showStyles.end(); ++it) {
|
||||
deleteShowStyle(it);
|
||||
}
|
||||
for (ShowStyleList::iterator it = _showStyles.begin();
|
||||
it != _showStyles.end();
|
||||
it = deleteShowStyle(it));
|
||||
_scrolls.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue