зеркало из https://github.com/mozilla/pjs.git
Fix bug 120422
r=dbaron,rs=hyatt Do not delete ref counted object.
This commit is contained in:
Родитель
ab5b98bf82
Коммит
2b95de033b
|
@ -1482,7 +1482,7 @@ CSSStyleRuleImpl::~CSSStyleRuleImpl(void)
|
|||
}
|
||||
if (nsnull != mImportantRule) {
|
||||
mImportantRule->mSheet = nsnull;
|
||||
delete mImportantRule;
|
||||
NS_RELEASE(mImportantRule);
|
||||
mImportantRule = nsnull;
|
||||
}
|
||||
if (nsnull != mDOMDeclaration) {
|
||||
|
|
|
@ -1482,7 +1482,7 @@ CSSStyleRuleImpl::~CSSStyleRuleImpl(void)
|
|||
}
|
||||
if (nsnull != mImportantRule) {
|
||||
mImportantRule->mSheet = nsnull;
|
||||
delete mImportantRule;
|
||||
NS_RELEASE(mImportantRule);
|
||||
mImportantRule = nsnull;
|
||||
}
|
||||
if (nsnull != mDOMDeclaration) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче