mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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");
|
||||
|
||||
glXDestroyGLXPixmap (dpy, glx_pixmap);
|
||||
glXDestroyPixmap (dpy, glx_pixmap);
|
||||
glx_pixmap = None;
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user