mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
bug 296522: nsJAR.cpp uses wrong allocator
patch by john <johnli1995@hotmail.com>, r=darin, a=asa
This commit is contained in:
parent
77a9a48e6b
commit
f94abb84a3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user