[prev in list] [next in list] [prev in thread] [next in thread]
List: freetype-devel
Subject: Re: [Devel] Possible bug
From: David Turner <david.turner () freetype ! org>
Date: 2001-04-18 10:54:20
[Download RAW message or body]
Hello Mike,
Mike Owens a écrit :
>
> I've compiled the ftview sample and encountered the following problem:
> Access error when the program closes. I've found the following on closing:
>
> Function calls to problem:
> FTC_Manager_Done()
> FT_Lru_Done(manager->sizes_lru) // this appears to delete the sizes_lru
> FT_Lru_Done(manager->faces_lru)
> FT_Lru_Reset(lru)
> clazz->done_element(lru,node) (ftc_manager_done_face(lru,node))
> {
> FTC_Manager manager = FTC_LRU_GET_MANAGER(lru);
>
> /* manager->sizes_lru was freed above and is invalid here and causes the crash */
> FT_lru_Remove_Selection( manager->sizes_lru,...)
> }
>
> Is this a bug and how do I fix it?
You probably know this already, but it is a bug, and has been fixed in 2.0.2
(by just swapping the FT_Lru_Done calls :-)
Thanks,
- David
_______________________________________________
Devel mailing list
Devel@freetype.org
http://www.freetype.org/mailman/listinfo/devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic