Bug 85342 - memory leak with .pcf.gz
memory leak with .pcf.gz
Status: CLOSED DUPLICATE of bug 85064
Product: Red Hat Raw Hide
Classification: Retired
Component: freetype (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Owen Taylor
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2003-02-28 06:58 EST by Mike A. Harris
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 13:52:02 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Freetype leak testcase (234 bytes, text/plain)
2003-02-28 07:02 EST, Mike A. Harris
no flags Details
Bugfix patch from freetype development mailing list. (336 bytes, patch)
2003-02-28 07:03 EST, Mike A. Harris
no flags Details | Diff

  None (edit)
Description Mike A. Harris 2003-02-28 06:58:36 EST
Date: 24 Feb 2003 23:52:07 +0100
From: Pixel <pixel@mandrakesoft.com>
To: devel@freetype.org
Cc: Frederic Crozat <fcrozat@mandrakesoft.com>
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
> 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 :)
Comment 1 Mike A. Harris 2003-02-28 07:02:35 EST
Created attachment 90409 [details]
Freetype leak testcase
Comment 2 Mike A. Harris 2003-02-28 07:03:31 EST
Created attachment 90410 [details]
Bugfix patch from freetype development mailing list.
Comment 3 Mike A. Harris 2003-02-28 07:05:22 EST
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.
Comment 4 Owen Taylor 2003-02-28 10:00:07 EST
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 ***
Comment 5 Red Hat Bugzilla 2006-02-21 13:52:02 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.