Skip to content

[graf2d] Further simplify freetype resource cleanup.#22807

Open
hageboeck wants to merge 2 commits into
root-project:masterfrom
hageboeck:simplifyFreetypeCleanup
Open

[graf2d] Further simplify freetype resource cleanup.#22807
hageboeck wants to merge 2 commits into
root-project:masterfrom
hageboeck:simplifyFreetypeCleanup

Conversation

@hageboeck

Copy link
Copy Markdown
Member

In looking for a memory leak (which turned out to be a freetype issue [1]), it became evident that TTGlyph can actually handle its own cleanup, allowing for simplifying the code.

[1] https://gitlab.freedesktop.org/freetype/freetype/-/work_items/1399

@hageboeck hageboeck self-assigned this Jul 14, 2026
@hageboeck
hageboeck requested review from couet and linev as code owners July 14, 2026 09:59
In looking for a memory leak (which turned out to be a freetype issue
[1]), it became evident that TTGlyph can actually handle its own
cleanup, allowing for simplifying the code.

[1] https://gitlab.freedesktop.org/freetype/freetype/-/work_items/1399
Whenever a handle to the freetype library is created, ensure that the
thread-local library is initialised.
@hageboeck
hageboeck force-pushed the simplifyFreetypeCleanup branch from 3f029c8 to d97297c Compare July 14, 2026 11:06
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 14h 45m 48s ⏱️
 3 873 tests  3 872 ✅ 0 💤 1 ❌
78 786 runs  78 785 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit d97297c.

♻️ This comment has been updated with latest results.

@dpiparo
dpiparo self-requested a review July 15, 2026 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants