[Webkit-unassigned] [Bug 238070] New: [GLIB] Make it possible to call GRefPtr::outPtr() multiple times wihtout an explicit clear

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 18 04:51:46 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238070

            Bug ID: 238070
           Summary: [GLIB] Make it possible to call GRefPtr::outPtr()
                    multiple times wihtout an explicit clear
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bugs-noreply at webkitgtk.org, calvaris at igalia.com,
                    pnormand at igalia.com

Clear the GRefPtr before returning the value in outPtr(), similar to what GUniqueOutPtr does, since it's easy to forget to explicitly call clear from the callers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220318/2a8e41b4/attachment.htm>


More information about the webkit-unassigned mailing list