Bug 85064

Summary: freetype memory leak
Product: [Retired] Red Hat Linux Reporter: Havoc Pennington <hp>
Component: freetypeAssignee: Owen Taylor <otaylor>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: mharris
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: 2003-06-09 21:37:44 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:

Description Havoc Pennington 2003-02-25 08:41:09 UTC
Frederic says freetype leaks the whole gzip stream when loading compressed 
fonts... I haven't verified with our package.

<fcrozat> --- freetype-2.1.3/src/gzip/ftgzip.c.pix        2003-02-24
23:23:58.000000000 +0100
<fcrozat> +++ freetype-2.1.3/src/gzip/ftgzip.c    2003-02-24 23:26:22.000000000
+0100
<fcrozat> @@ -276,6 +276,8 @@
<fcrozat>    {
<fcrozat>      z_stream*  zstream = &zip->zstream;
<fcrozat>  
<fcrozat> +    inflateEnd(zstream);
<fcrozat> +
<fcrozat>      /* clear the rest */
<fcrozat>      zstream->zalloc    = NULL;
<fcrozat>      zstream->zfree     = NULL;

Comment 1 Owen Taylor 2003-02-28 15:00:09 UTC
*** Bug 85342 has been marked as a duplicate of this bug. ***

Comment 2 Owen Taylor 2003-06-09 21:37:44 UTC
Was fixed in freetype-2_1_3-8