bug 296522: nsJAR.cpp uses wrong allocator

patch by john <johnli1995@hotmail.com>, r=darin, a=asa
This commit is contained in:
db48x%yahoo.com 2005-06-14 10:29:45 +00:00
parent 77a9a48e6b
commit f94abb84a3

View File

@ -160,7 +160,7 @@ PR_STATIC_CALLBACK(PRBool)
DeleteManifestEntry(nsHashKey* aKey, void* aData, void* closure)
{
//-- deletes an entry in mManifestData.
PR_FREEIF(aData);
delete (nsJARManifestItem*)aData;
return PR_TRUE;
}