зеркало из https://github.com/mozilla/pjs.git
Fixed memory leak in style change code
This commit is contained in:
Родитель
1b211ce395
Коммит
13bb166f7c
|
@ -520,4 +520,6 @@ nsHTMLContainerFrame::StyleChangeReflow(nsIPresContext& aPresContext,
|
|||
shell->AppendReflowCommand(reflowCmd);
|
||||
NS_RELEASE(reflowCmd);
|
||||
}
|
||||
|
||||
NS_RELEASE(shell);
|
||||
}
|
||||
|
|
|
@ -520,4 +520,6 @@ nsHTMLContainerFrame::StyleChangeReflow(nsIPresContext& aPresContext,
|
|||
shell->AppendReflowCommand(reflowCmd);
|
||||
NS_RELEASE(reflowCmd);
|
||||
}
|
||||
|
||||
NS_RELEASE(shell);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче