2006-12-20 Mark Rowe <bdash@webkit.org>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Dec 2006 21:54:10 +0000 (21:54 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Dec 2006 21:54:10 +0000 (21:54 +0000)
commit3d48f523296ed4dd60d613fba974afd12e961c47
treece7eb8377b6605aced0a0992c5e46939ffd30600
parenta2d09be84c9ded8b42acde7d9b0dd60bf23cc3b4
2006-12-20  Mark Rowe  <bdash@webkit.org>

        Reviewed by Anders.

        Fix leak of CGContextRef from GraphicsContext::createImageBuffer.

        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::createImageBuffer): Release newly-created CGContextRef after passing it to GraphicsContext.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/graphics/cg/GraphicsContextCG.cpp