freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] patch to fix memory leak with .pcf.gz files


From: Pixel
Subject: [Devel] patch to fix memory leak with .pcf.gz files
Date: 24 Feb 2003 23:52:07 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93

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 :)

Attachment: freetype-2.1.3-fix-memory-leak-with-pcf.gz-files.patch
Description: Text Data

Attachment: ft-test-leak.c
Description: Text document

cu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]