Subject: Re: bug#3208: 23.0.93; Memory full / crash when displaying lots of characters from a large font (like Arial Unicode or Code2000) which is not explicitly selected (on Win32)

From: Jason Rumney <[email-masked]>
Date: Tue, 05 May 2009 23:46:44 +0800

Jason Rumney wrote:
> The other is that SAFE_FREE does not appear to call xfree to free the 
> memory that SAFE_ALLOCA allocated with xmalloc. Maybe SAFE_ALLOCA is 
> not used often to allocate more than 16kB (the threshold for using the 
> heap instead of the stack) so this has gone unnoticed in the past.

I take that back, xfree is called from safe_alloca_unwind, the memory 
leak lies elsewhere.