WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
305707
[GLib] Avoid usage of temporary object in WebKitAutomationSession.cpp
https://bugs.webkit.org/show_bug.cgi?id=305707
Summary
[GLib] Avoid usage of temporary object in WebKitAutomationSession.cpp
Adrian Perez
Reported
2026-01-17 14:39:39 PST
Clang conveniently reports: ../Source/WebKit/UIProcess/API/glib/WebKitAutomationSession.cpp:359:38: warning: object backing the pointer 'ignoreAddressList[i++]' will be destroyed at the end of the full-expression [-Wdangling -assignment] 359 | ignoreAddressList[i++] = ignoreAddress.utf8().data(); | ^~~~~~~~~~~~~~~~~~~~ 1 warning generated.
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2026-01-17 14:42:16 PST
Pull request:
https://github.com/WebKit/WebKit/pull/56771
Philippe Normand
Comment 2
2026-01-18 00:42:51 PST
***
Bug 305377
has been marked as a duplicate of this bug. ***
EWS
Comment 3
2026-01-18 14:48:27 PST
Committed
305786@main
(1861fba4afd0): <
https://commits.webkit.org/305786@main
> Reviewed commits have been landed. Closing PR #56771 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug