AW: Yet another leak in Xlib
Walter Harms
wharms at bfs.de
Tue Oct 18 09:57:53 UTC 2022
will sombody close the hole in the documentation ?
________________________________________
Von: xorg-devel <xorg-devel-bounces at lists.x.org> im Auftrag von Po Lu <luangruo at yahoo.com>
Gesendet: Dienstag, 4. Oktober 2022 04:38
An: Thomas Dickey
Cc: xorg-devel at lists.x.org
Betreff: Re: Yet another leak in Xlib
Thomas Dickey <dickey at his.com> writes:
> looks okay reading the library code (src/xlibi18n/XDefaultIMIF.c, _CloseIM).
>
> xterm doesn't free that 'xim' value (and the XCloseIM manual page doesn't
> say who's responsible for that -- though it's possible that some other
> application developer read the library source code and is freeing it).
XCloseIM (in IMWrap.c) frees the XIM value itself after calling close to
deinitialize the input method.
So I think the patch should be fine, and I've been running it for a
while with no ill effect. Could it be installed?
Thanks.
More information about the xorg-devel
mailing list