Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 725a3cbaa269accd44f56f5b744e317d88424e2b
https://github.com/WebKit/WebKit/commit/725a3cbaa269accd44f56f5b744e317d88424e2b
Author: Claudio Saavedra <[email protected]>
Date: 2026-09-28 (Mon, 28 Sep 2026)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
M Source/WebKit/UIProcess/API/glib/WebKitContextMenuClient.cpp
Log Message:
-----------
[GLIB] Fix some issues found via Safer-CPP static analysis
https://bugs.webkit.org/show_bug.cgi?id=325492
Reviewed by Fujii Hironori.
I found these while smoke-testing Linux-ports support for
Tools/Scripts/analyze-safer-cpp.
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::GstMappedOwnedBuffer::create): Adopt the new buffer into a
Ref right away instead of holding it in a raw pointer and deleting it
by hand when the mapping fails.
* Source/WebKit/UIProcess/API/glib/WebKitContextMenuClient.cpp:
(attachContextMenuClientToView): Protect the page while calling
setContextMenuClient(), which is not trivial.
Canonical link: https://commits.webkit.org/322124@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications