On Sun, 6 May 2018 22:07:53 +0200, Gregor Mückl wrote:

> On 5/6/2018 9:56 PM, Lawrence D'Oliveiro wrote:
>
>> On Sun, 6 May 2018 09:47:19 +0200, Gregor Mückl wrote:
>>>
>>> Also, on the way up to the exception handler in main(), stack
>>> unwinding causes destructors of various objects to be called. That
>>> way, RAII patterns in my code get executed: resources are freed,
>>> files are closed (writing buffered file contents to disk) etc.  
>
>> What happens if you have another FT_Face to dispose of?  
> 
> Why would that matter? I cannot see the relevance to the topic.

In the process of recovering from the error in disposing of the first
one, do you try to dispose of the second one?

_______________________________________________
Freetype mailing list
Freetype@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to