Fix for new potential memory leak in ClutterGLXTexturePixmap.

This fixes a new instance of glXDestroyGLXPixmap which should be
glXDestroyPixmap.

Signed-off-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Garry Bodsworth 2009-06-08 11:56:59 +01:00 committed by Robert Bragg
parent fd0a490ced
commit d873a57ec9

View File

@ -714,7 +714,7 @@ clutter_glx_texture_pixmap_create_glx_pixmap (ClutterGLXTexturePixmap *texture)
{
CLUTTER_NOTE (TEXTURE, "Unable to create texture for pixmap");
glXDestroyGLXPixmap (dpy, glx_pixmap);
glXDestroyPixmap (dpy, glx_pixmap);
glx_pixmap = None;
goto cleanup;
}