Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1729470dcaa66aa26531ec6599dd3ae9516c4fc6
https://github.com/WebKit/WebKit/commit/1729470dcaa66aa26531ec6599dd3ae9516c4fc6
Author: Adrian Perez de Castro <[email protected]>
Date: 2026-03-29 (Sun, 29 Mar 2026)
Changed paths:
M Source/WebKit/UIProcess/API/glib/WebKitFaviconDatabase.cpp
Log Message:
-----------
[GTK] SkImage leaked in webkit_favicon_database_get_favicon_finish()
https://bugs.webkit.org/show_bug.cgi?id=311037
Reviewed by Fujii Hironori.
The call to the g_task_propagate_pointer() function used to obtain the
SkImage for a favicon moves the ownership to the caller; but the
reference was not being accounted for. Adopt the reference into a sk_sp
to ensure that it gets dropped at the end of the scope, this avoiding
the leak of the SkImage.
* Source/WebKit/UIProcess/API/glib/WebKitFaviconDatabase.cpp:
(webkit_favicon_database_get_favicon_finish):
Canonical link: https://commits.webkit.org/310202@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications