зеркало из https://github.com/mozilla/gecko-dev.git
Bug 385600 Fix nsPluginInstanceOwner allocator mismatches r+sr=jst
This commit is contained in:
Родитель
f595f7bb87
Коммит
c097f08bfc
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче