From d873a57ec90da7b5ae5b2cec62c1779316200177 Mon Sep 17 00:00:00 2001 From: Garry Bodsworth Date: Mon, 8 Jun 2009 11:56:59 +0100 Subject: [PATCH] Fix for new potential memory leak in ClutterGLXTexturePixmap. This fixes a new instance of glXDestroyGLXPixmap which should be glXDestroyPixmap. Signed-off-by: Robert Bragg --- clutter/glx/clutter-glx-texture-pixmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/glx/clutter-glx-texture-pixmap.c b/clutter/glx/clutter-glx-texture-pixmap.c index b021950c5..fb174fd6b 100644 --- a/clutter/glx/clutter-glx-texture-pixmap.c +++ b/clutter/glx/clutter-glx-texture-pixmap.c @@ -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; }