mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Fix leak of style contexts. r=pollmann@netscape.com
This commit is contained in:
parent
2c57696f33
commit
e10bf39827
@ -7257,6 +7257,7 @@ nsCSSFrameConstructor::ContentRemoved(nsIPresContext* aPresContext,
|
||||
// Add the generated frame to the child list
|
||||
frameManager->AppendFrames(aPresContext, *shell, parentFrame, nsnull, generatedFrame);
|
||||
}
|
||||
NS_IF_RELEASE(styleContext);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7257,6 +7257,7 @@ nsCSSFrameConstructor::ContentRemoved(nsIPresContext* aPresContext,
|
||||
// Add the generated frame to the child list
|
||||
frameManager->AppendFrames(aPresContext, *shell, parentFrame, nsnull, generatedFrame);
|
||||
}
|
||||
NS_IF_RELEASE(styleContext);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user