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 <[email protected]> im Auftrag von Po Lu
<[email protected]>
Gesendet: Dienstag, 4. Oktober 2022 04:38
An: Thomas Dickey
Cc: [email protected]
Betreff: Re: Yet another leak in Xlib
Thomas Dickey <[email protected]> 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- [email protected]
Oracle Solaris Engineering - https://blogs.oracle.com/solaris