Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 059e3e6c51e4afcea446dcf72fda68e876685c67 https://github.com/WebKit/WebKit/commit/059e3e6c51e4afcea446dcf72fda68e876685c67 Author: Aditya Keerthi <akeer...@apple.com> Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths: M Source/WebCore/platform/mediastream/ios/ReplayKitCaptureSource.mm Log Message: ----------- Fix memory leak in `ReplayKitCaptureSource` https://bugs.webkit.org/show_bug.cgi?id=287468 rdar://144590066 Reviewed by Abrar Rahman Protyasha and Wenson Hsieh. * Source/WebCore/platform/mediastream/ios/ReplayKitCaptureSource.mm: (WebCore::ReplayKitCaptureSource::start): `m_recorderHelper` is a `RetainPtr` and `-[WebCoreReplayKitScreenRecorderHelper initWithCallback:]` returns a +1 object. Use `adoptNS` to avoid leaking memory. Canonical link: https://commits.webkit.org/290227@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