Fix potential pixel buffer leak in ImageRotationSessionVT::rotate
Created attachment 403452 [details] Patch
<rdar://problem/64133927>
Looking at other WebKit code, I am wondering whether we should not add both kCVPixelBufferIOSurfacePropertiesKey and kCVPixelFormatOpenGLESCompatibility/kCVPixelBufferOpenGLCompatibilityKey like done in ImageTransferSession.
Created attachment 403459 [details] Patch
Committed r264034: <https://trac.webkit.org/changeset/264034> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403459 [details].
Comment on attachment 403459 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403459&action=review > Source/WebCore/platform/graphics/cv/ImageRotationSessionVT.mm:118 > + result = adoptCF(rawRotatedBuffer); I would use auto here rather than defining result above.