Reviewed by Adele.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Jul 2006 22:33:50 +0000 (22:33 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Jul 2006 22:33:50 +0000 (22:33 +0000)
commit9d7f27e75002d083189668c976c3edcceb16e32d
tree6bc80b58e5659e0d691748c1644b39e528dc8759
parent4f95809a82dd7a3f85aab3140143772e178dccd4
    Reviewed by Adele.

        - fixed a couple of storage leaks noticed by the buildbot

        * html/HTMLOptGroupElement.cpp: (WebCore::HTMLOptGroupElement::attach):
        Call deref on the style after calling setRenderStyle, since styleForRenderer
        returns us a "ref'd" RenderStyle object.
        * html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::attach): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/HTMLOptGroupElement.cpp
WebCore/html/HTMLOptionElement.cpp