Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 9b0cf46ee47942e1595fb00612df1053b4c3bbcd https://github.com/WebKit/WebKit/commit/9b0cf46ee47942e1595fb00612df1053b4c3bbcd Author: Rose <gfunni...@gmail.com> Date: 2024-09-03 (Tue, 03 Sep 2024)
Changed paths: M Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm Log Message: ----------- [WebCore] Release rawBlockBuffer if CMSampleBufferSetDataBuffer fails https://bugs.webkit.org/show_bug.cgi?id=279027 Reviewed by Said Abou-Hallawa. rawBlockBuffer can end up being leaked if CMSampleBufferSetDataBuffer fails, so just use adoptCF to ensure it is always freed. * Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm: (WebCore::ImageDecoderAVFObjC::createFrameImageAtIndex): Assign rawBlockBuffer to a RetainPtr. Canonical link: https://commits.webkit.org/283101@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes