Hi,

Attached is a patch to fix a leak in ClutterGLXTexturePixmap. Basically, the OpenGL spec says if you create a pixmap using glXCreatePixmap you should use glXDestroyPixmap to free it. Likewise, using glXCreateGLXPixmap should be freed using glXDestroyGLXPixmap.

Shuang He on the intel-gfx mailing list pointed this out, so I thought I'd submit it upstream because I am now using it to build my package.

If the patch needs to be submitted elsewhere let me know and I'll do that.

Thanks,
Garry Bodsworth


Attachment: 0001-clutter-Destroy-the-GLX-pixmap-using-the-correct-function-to.patch
Description: Binary data


Reply via email to