mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 861796 - Fix crash in LibHandle::~LibHandle. r=nfroyd
This commit is contained in:
parent
fb4a3fd5b1
commit
5d442bca12
@ -181,7 +181,7 @@ LeafName(const char *path)
|
||||
LibHandle::~LibHandle()
|
||||
{
|
||||
free(path);
|
||||
if (mappable->GetKind() != Mappable::MAPPABLE_EXTRACT_FILE)
|
||||
if (mappable && mappable->GetKind() != Mappable::MAPPABLE_EXTRACT_FILE)
|
||||
delete mappable;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user