Bug 385600 Fix nsPluginInstanceOwner allocator mismatches r+sr=jst

This commit is contained in:
Neil Rashbrook 2009-04-05 13:57:07 +01:00
Родитель f595f7bb87
Коммит c097f08bfc
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;
}
}