Subject: Re: bug#12463: 24.2; pos-visible-in-window-p gets slower over time

From: Eli Zaretskii <[email-masked]>
Date: Sun, 23 Sep 2012 05:48:02 +0200

> From: Juanma Barranquero <[email-masked]>
> Date: Sat, 22 Sep 2012 21:53:23 +0200
> Cc: [email-masked], [email-masked], [email-masked]
> 
> On Sat, Sep 22, 2012 at 9:46 PM, Eli Zaretskii <[email-masked]> wrote:
> 
> > I think that would leak memory.
> 
> Because of image_types? Can't the memory be xfree'd?

Yes, you can, if you put some code to do that before setting it to
NULL.