[Xcb] [PATCH] util-cursor: Fix minor memleak and fix the RENDER version check

Uli Schlachter psychon at znc.in
Thu Sep 19 09:21:30 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

attached are two patches for util-cursor. The first one handles a minor memory
leak and is quite trivial.

The second one is a little less trivial: CreateCursor was added to RENDER in
version 0.5 and CreateAnimCursor is new in version 0.8. However, util-cursor
only checked if the RENDER extension is present and then assumed that all
requests are available.

Cheers,
Uli
- -- 
<alanc> I think someone had a Xprint version of glxgears at one point,
    but benchmarking how many GL pages you can print per second
    was deemed too silly to merge
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQEcBAEBCAAGBQJSOySFAAoJECLkKOvLj8sGpJgH/1zTOdMyZBiC4YTQ4aos2b5Q
0dKkD8B4R5o9DTlZz/ZEOBWAerKoQdpa52e0Bff8z9OO0yxaNUl/WLA/1yObkzgB
Svc1LxCI7eX8+35lxPFPcNrU0e5IOXzTKu36VPO+aEPIknHOHNaSIKwDsNLiOOKy
s1TBUBwMFs3fET8brXw2DRRcHYyGcGAus+ZYk7fCHIl1jtRpgRInxp++Poy72niV
yIvrYAyBwKCY7dzAejiQK6KO87LBdBtlp4S8wYL+AueMUZeqXQrk7KyXyI0+ySrs
tnzwgkoErLdtGt1UOh52nBIzDqAHQcnamwPWQoOP4kyO7C7PqCeHQbM7avhcC7o=
=jIoE
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-memleak-with-broken-resource-databases.patch
Type: text/x-patch
Size: 1574 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20130919/169350ce/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Check-exact-RENDER-version-that-the-server-supports.patch
Type: text/x-patch
Size: 4627 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20130919/169350ce/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-memleak-with-broken-resource-databases.patch.sig
Type: application/pgp-signature
Size: 287 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20130919/169350ce/attachment.pgp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Check-exact-RENDER-version-that-the-server-supports.patch.sig
Type: application/pgp-signature
Size: 287 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20130919/169350ce/attachment-0001.pgp>


More information about the Xcb mailing list