mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-18 06:31:02 +00:00
DIRECTOR: Lingo: Fix crash at the quit
This commit is contained in:
parent
bad8605014
commit
9f05f7821e
@ -59,7 +59,11 @@ bool Archive::openFile(const Common::String &fileName) {
|
||||
|
||||
void Archive::close() {
|
||||
_types.clear();
|
||||
delete _stream; _stream = 0;
|
||||
|
||||
if (_stream)
|
||||
delete _stream;
|
||||
|
||||
_stream = 0;
|
||||
}
|
||||
|
||||
bool Archive::hasResource(uint32 tag, uint16 id) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user