>>>>> On Wed, 6 Jun 2007 11:41:24 +0200, "Juanma Barranquero" <[EMAIL >>>>> PROTECTED]> said:
> On 6/6/07, YAMAMOTO Mitsuharu <[EMAIL PROTECTED]> 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. I don't think I fully understand the code, but attr->numsymbols in xpm_init_color_cache becomes always 0 if the second call is removed. Is that right? YAMAMOTO Mitsuharu [EMAIL PROTECTED] _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug