freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] memory leak when attaching the file (FT_Attach_File)


From: David Turner
Subject: Re: [ft-devel] memory leak when attaching the file (FT_Attach_File)
Date: Sun, 04 Jun 2006 17:39:16 +0200
User-agent: Thunderbird 1.5.0.2 (X11/20060522)

Hello,

Юлиана Зигангирова a écrit :
> Hello,
> I have a memory leak problem when using "FT_Attach_File";
> the debugger says that the memory allocated with malloc
> in ftsystem.c was never freed
> (ftsystem.c, line 74, 
>     return ft_smalloc( size );
> )
> I use "FT_Done_Face" for an opened face and 
> "FT_Done_FreeType" for the library.
> Do I need to perform some additional destructive
> procedure when using "FT_Attach_File"?
>   
Nope, it should work as is, so it seems there is a bug
in the library. Would you care to indicate us how to
replicate this bug.

Also, a good idea under Linux is to run the program
with the valgrind memory debugger, e.g.

valgrind --tool=memcheck yourprogram youroptions

Regards,

- David Turner
- The FreeType Project (www.freetype.org)

> I did not find anything about it in the documentation.
> I am using Freetype 2.2.1.
> Thank you very much in advance for you help,
> Yuliana
>
>
>
>
>
> _______________________________________________
> Freetype-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/freetype-devel
>   





reply via email to

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