[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two memory leaks
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Two memory leaks |
Date: |
Sun, 05 Oct 2003 16:43:56 +0900 (JST) |
>>>>> On Wed, 24 Sep 2003 23:33:07 +0900 (JST), YAMAMOTO Mitsuharu
>>>>> <address@hidden> said:
> Two memory leaks were found with the help of leaks(1) command in Mac
> OS X.
... and two more leaks are found.
1. `f->decode_mode_spec_buffer' in Fdelete_frame (frame.c):
*** frame.c.~1.302.~ Sun Sep 21 10:42:37 2003
--- frame.c Thu Sep 25 17:04:56 2003
***************
*** 1279,1284 ****
--- 1279,1286 ----
if (f->namebuf)
xfree (f->namebuf);
+ if (f->decode_mode_spec_buffer)
+ xfree (f->decode_mode_spec_buffer);
if (FRAME_INSERT_COST (f))
xfree (FRAME_INSERT_COST (f));
if (FRAME_DELETEN_COST (f))
2. The function x_delete_display (xterm.c) is called from either
Fx_close_connection (xfns.c) or x_connection_closed (xterm.c). In
the former case, elements of `dpyinfo->font_table' are freed, but
not in the latter one. And in the both cases, the `font_encoder'
member is not freed.
YAMAMOTO Mitsuharu
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Two memory leaks,
YAMAMOTO Mitsuharu <=