[Top][All Lists]

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

memory leak in xpm_load

From: YAMAMOTO Mitsuharu
Subject: memory leak in xpm_load
Date: Wed, 6 Jun 2007 11:46:40 +0900 (JST)
User-agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shij┼Ź) APEL/10.6 Emacs/22.1.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

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.

                                     YAMAMOTO Mitsuharu

In GNU Emacs (sparc-sun-solaris2.8, X toolkit, Xaw3d scroll bars)
 of 2007-06-06 on church
Windowing system distributor `AT&T Laboratories Cambridge', version 11.0.3332
configured using `configure  '--x-libraries=/usr/local/lib' 'CFLAGS=-g -O2 -mv8 

reply via email to

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