emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: memory leak in xpm_load


From: Chong Yidong
Subject: Re: memory leak in xpm_load
Date: Wed, 06 Jun 2007 14:59:27 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

"Juanma Barranquero" <address@hidden> writes:

> On 6/6/07, YAMAMOTO Mitsuharu <address@hidden> wrote:
>
>> In xpm_load (if HAVE_XPM and ALLOC_XPM_COLORS), xpm_init_color_cache
>> is called twice without an intervening xpm_free_color_cache call, and
>> that causes a memory leak ~4KB per XPM image creation.
>
> Try removing the second one; I think it's a leftover from a patch by Chong.

Actually, I think I added the first call by mistake.  I removed it.
Thanks for spotting the problem.





reply via email to

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