libXi XGetExtensionVersion does not release lock when extension is not present

Magnus Kessler Magnus.Kessler at gmx.net
Mon Oct 16 11:00:03 PDT 2006


Even after the recent changes to libXi's lock handling there is still a case 
where the lock is not correctly freed. This happens when the XInput 
extension is not available on the server.

I have opened bug #8663 (https://bugs.freedesktop.org/show_bug.cgi?id=8663) 
for this and attached a rather large patch to it that attempts to clean up 
the lock handling in libXi. The patch removes all lock-related side effects 
from internal functions and also gets rid of the recursive calls between 
_XiCheckExtInit() and _XiGetExtensionVersion().

Please review and apply to the tree if appropriate.

Thanks,

Magnus Kessler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20061016/92450ed2/attachment.pgp>


More information about the xorg mailing list