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:
parent
fd0a490ced
commit
d873a57ec9
@ -714,7 +714,7 @@ clutter_glx_texture_pixmap_create_glx_pixmap (ClutterGLXTexturePixmap *texture)
|
|||||||
{
|
{
|
||||||
CLUTTER_NOTE (TEXTURE, "Unable to create texture for pixmap");
|
CLUTTER_NOTE (TEXTURE, "Unable to create texture for pixmap");
|
||||||
|
|
||||||
glXDestroyGLXPixmap (dpy, glx_pixmap);
|
glXDestroyPixmap (dpy, glx_pixmap);
|
||||||
glx_pixmap = None;
|
glx_pixmap = None;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user