mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 14:30:47 +00:00
fixes bug 336593 "Firefox crashes when it starts [@ PL_FinishArenaPool]" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin
This commit is contained in:
parent
798e8d1bc1
commit
799d6fc8c1
@ -559,7 +559,9 @@ nsresult nsZipArchive::Test(const char *aEntryName)
|
||||
nsresult nsZipArchive::CloseArchive()
|
||||
{
|
||||
#ifndef STANDALONE
|
||||
PL_FinishArenaPool(&mArena);
|
||||
if (mFd) {
|
||||
PL_FinishArenaPool(&mArena);
|
||||
}
|
||||
|
||||
// CAUTION:
|
||||
// We don't need to delete each of the nsZipItem as the memory for
|
||||
|
Loading…
x
Reference in New Issue
Block a user