mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 385600 Fix nsPluginInstanceOwner allocator mismatches r+sr=jst
This commit is contained in:
parent
52721de1e5
commit
7689e2520b
@ -2254,12 +2254,12 @@ nsPluginInstanceOwner::~nsPluginInstanceOwner()
|
||||
|
||||
for (cnt = 0; cnt < (mNumCachedAttrs + 1 + mNumCachedParams); cnt++) {
|
||||
if (mCachedAttrParamNames && mCachedAttrParamNames[cnt]) {
|
||||
PR_Free(mCachedAttrParamNames[cnt]);
|
||||
NS_Free(mCachedAttrParamNames[cnt]);
|
||||
mCachedAttrParamNames[cnt] = nsnull;
|
||||
}
|
||||
|
||||
if (mCachedAttrParamValues && mCachedAttrParamValues[cnt]) {
|
||||
PR_Free(mCachedAttrParamValues[cnt]);
|
||||
NS_Free(mCachedAttrParamValues[cnt]);
|
||||
mCachedAttrParamValues[cnt] = nsnull;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user