Bug 453545: InstallTrigger Broken when doing multiple signed XPI installs. r=biesi, a1.9.1b2=beltzner
authorDave Townsend <dtownsend@oxymoronical.com>
Thu, 13 Nov 2008 15:38:16 +0000
changeset 21614 4abab345610973f1f9e6708b4e87633f0ffef642
parent 21613 fb294e8e49d047249cd3aa7c5c40b3df4cd23ce0
child 21615 b9926411d750d5803770c64290d54844802a6eea
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbiesi
bugs453545
milestone1.9.1b2pre
Bug 453545: InstallTrigger Broken when doing multiple signed XPI installs. r=biesi, a1.9.1b2=beltzner
modules/libjar/nsJAR.cpp
--- a/modules/libjar/nsJAR.cpp
+++ b/modules/libjar/nsJAR.cpp
@@ -198,16 +198,17 @@ NS_IMETHODIMP
 nsJAR::Close()
 {
   if (mLock) {
     PR_DestroyLock(mLock);
     mLock = nsnull;
   }
 
   mParsedManifest = PR_FALSE;
+  mManifestData.Reset();
   mGlobalStatus = JAR_MANIFEST_NOT_PARSED;
   mTotalItemsInManifest = 0;
 
   return mZip.CloseArchive();
 }
 
 NS_IMETHODIMP
 nsJAR::Test(const char *aEntryName)