Bug 85342
Summary: | memory leak with .pcf.gz | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Mike A. Harris <mharris> | ||||||
Component: | freetype | Assignee: | Owen Taylor <otaylor> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Brock Organ <borgan> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 1.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-02-21 18:52:02 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 90409 [details]
Freetype leak testcase
Created attachment 90410 [details]
Bugfix patch from freetype development mailing list.
I haven't verified this bug nor tested the patch. I just spotted it on the mailing list and thought I should bugzilla it so we can test for the problem and fix our package if it is applicable. I've already verified the leak, verified the fix, and checked a patch into package CVS :-) *** This bug has been marked as a duplicate of 85064 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
Date: 24 Feb 2003 23:52:07 +0100 From: Pixel <pixel> To: devel Cc: Frederic Crozat <fcrozat> Content-Type: multipart/mixed; boundary="=-=-=" List-Id: Bugs, Wish Lists, Features, Development, etc.. <devel.freetype.org> Subject: [Devel] patch to fix memory leak with .pcf.gz files Problem encountered with "fc-cache -f" using more than 100MB of memory when scanning /usr/lib/X11/fonts/75dpi + /usr/lib/X11/fonts/100dpi ft-test-leak.c shows the problem (needs a .pcf.gz font) when setting FT_DEBUG_MEMORY: > FreeType.Debug: FreeType: 44376 bytes of memory leaked in 4 blocks Simple fix included (i'm no zlib nor freetype guru, but it seems the right thing to do :)