[Webkit-unassigned] [Bug 261274] New: leaking memory with cairo

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 7 06:36:41 PDT 2023


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

            Bug ID: 261274
           Summary: leaking memory with cairo
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mail at eworm.de

Calling `cairo_font_options_create()` returns a structure that contains an allocated property [0]. That used to be no problem when cairo font options were initialized just once, however this changed with commit 4fac13b14ab43258032797d51b868da33064af9e ("Network process shouldn't load Cairo ") [1] where the function is called when ever the data is used. Now the allocated property leaks, filling up all RAM over time.

[0] https://gitlab.freedesktop.org/cairo/cairo/-/blob/master/src/cairo-font-options.c?ref_type=heads#L97
[1] https://github.com/WebKit/WebKit/commit/4fac13b14ab43258032797d51b868da33064af9e

-- 
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/20230907/94a26bdd/attachment.htm>


More information about the webkit-unassigned mailing list