The GraphicsContextPlatformPrivate destructor currently calls QPainter::end() before deleting the paint device. QPainter::device() will always return 0 after calling end(), so this code is leaking the device.
Created attachment 75016 [details] Patch
This is landed in <http://trac.webkit.org/changeset/72907>.
Comment on attachment 75016 [details] Patch Clearing flags. Please do not forget it next time! ;)
(In reply to comment #3) > (From update of attachment 75016 [details]) > Clearing flags. Please do not forget > it next time! ;) Thank you very much ;)