mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 09:36:21 +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() {
|
void Archive::close() {
|
||||||
_types.clear();
|
_types.clear();
|
||||||
delete _stream; _stream = 0;
|
|
||||||
|
if (_stream)
|
||||||
|
delete _stream;
|
||||||
|
|
||||||
|
_stream = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Archive::hasResource(uint32 tag, uint16 id) const {
|
bool Archive::hasResource(uint32 tag, uint16 id) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user