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:
darin%meer.net 2006-05-05 20:44:52 +00:00
parent 798e8d1bc1
commit 799d6fc8c1

View File

@ -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