mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 13:52:37 +00:00
Fixed memory leak in style change code
This commit is contained in:
parent
53e684bc7f
commit
9f8023578d
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user