RESOLVED FIXED255785
Do not deref CreationData's buffer when Cairo font is destroyed.
https://bugs.webkit.org/show_bug.cgi?id=255785
Summary Do not deref CreationData's buffer when Cairo font is destroyed.
Vitaly Dyackhov
Reported 2023-04-21 06:49:24 PDT
Since 263084@main `FontCustomPlatformData` takes `FontPlatformData::CreationData` instead of `FragmentedSharedBuffer`. The buffer is now a reference counted field of `FontPlatformData::CreationData` struct and will be automatically dereferenced when `FontCustomPlatformData` is destroyed. It is an error to manually dereference it using Cairo font destroy function.
Attachments
Vitaly Dyackhov
Comment 1 2023-04-21 06:55:48 PDT
EWS
Comment 2 2023-04-21 12:44:52 PDT
Committed 263258@main (dc4c470f9471): <https://commits.webkit.org/263258@main> Reviewed commits have been landed. Closing PR #13029 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.