mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 531231 - "Incorrect mmap cleanup" [r=alfredkayser]
This commit is contained in:
parent
2eb56202ec
commit
55534754ff
@ -190,6 +190,7 @@ nsresult nsZipHandle::Init(PRFileDesc *fd, nsZipHandle **ret)
|
||||
|
||||
nsZipHandle *handle = new nsZipHandle();
|
||||
if (!handle) {
|
||||
PR_MemUnmap(buf, size);
|
||||
PR_CloseFileMap(map);
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user