On Tue, Sep 27, 2005, Olaf Seibert wrote about "[ctwm] Re: ctwm memory leaks?":
> does behave like my theory. It seems that my version is XFree86 4.5.0
> (or derived from it). What's your X version?
I'm using X.Org version 6.8.2... I'd be really surprised if their
implementation of XFree() changed in the last decade, but I guess it
could have happened... I'm also puzzled on why your patch made any
difference, but it did (I just checked the unpatched version again, and
the leaks are still there). Very strange... I hope that the other aleged
leaks I pointed to turn out to be more understandable.
P.S. In you patch, you have the following code:
if (!tmp_win->icon_name)
tmp_win->icon_name = tmp_win->name;
if (tmp_win->icon_name == NULL) tmp_win->icon_name = tmp_win->name;
There's no difference between the two statements - one is obviously
redundant and can be removed.
--
Nadav Har'El | Tuesday, Sep 27 2005, 24 Elul 5765
[EMAIL PROTECTED] |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |Why do programmers mix up Christmas and
http://nadav.harel.org.il |Halloween? Because DEC 25 = OCT 31