Done: https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/166
-alan-
On 10/18/22 02:57, Walter Harms wrote:
will sombody close the hole in the documentation ?
Von: xorg-devel im Auftrag von Po Lu
Gesendet: Dienstag, 4. Oktober 2022 04:38
An: Thomas Dickey
Cc: xorg-devel@lists.x.org
Betreff: Re: Yet another leak in Xlib
Thomas Dickey 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.
--
-Alan Coopersmith- alan.coopersm...@oracle.com
Oracle Solaris Engineering - https://blogs.oracle.com/solaris