зеркало из https://github.com/mozilla/pjs.git
Fixed memory leak
This commit is contained in:
Родитель
bac5cf794d
Коммит
bdd1ad3abf
|
@ -1005,7 +1005,7 @@ static void PseudoEnumFunc(nsICSSStyleRule* aRule, void* aData)
|
|||
content->GetParent(content);
|
||||
NS_IF_RELEASE(lastContent);
|
||||
}
|
||||
NS_IF_RELEASE(lastContent);
|
||||
NS_IF_RELEASE(content);
|
||||
if (nsnull == selector) { // ran out, it matched
|
||||
nsIStyleRule* iRule;
|
||||
if (NS_OK == aRule->QueryInterface(kIStyleRuleIID, (void**)&iRule)) {
|
||||
|
|
|
@ -1005,7 +1005,7 @@ static void PseudoEnumFunc(nsICSSStyleRule* aRule, void* aData)
|
|||
content->GetParent(content);
|
||||
NS_IF_RELEASE(lastContent);
|
||||
}
|
||||
NS_IF_RELEASE(lastContent);
|
||||
NS_IF_RELEASE(content);
|
||||
if (nsnull == selector) { // ran out, it matched
|
||||
nsIStyleRule* iRule;
|
||||
if (NS_OK == aRule->QueryInterface(kIStyleRuleIID, (void**)&iRule)) {
|
||||
|
|
|
@ -1005,7 +1005,7 @@ static void PseudoEnumFunc(nsICSSStyleRule* aRule, void* aData)
|
|||
content->GetParent(content);
|
||||
NS_IF_RELEASE(lastContent);
|
||||
}
|
||||
NS_IF_RELEASE(lastContent);
|
||||
NS_IF_RELEASE(content);
|
||||
if (nsnull == selector) { // ran out, it matched
|
||||
nsIStyleRule* iRule;
|
||||
if (NS_OK == aRule->QueryInterface(kIStyleRuleIID, (void**)&iRule)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче