diff --git a/clutter/glx/clutter-stage-glx.c b/clutter/glx/clutter-stage-glx.c index 426d806a6..d74b8e1da 100644 --- a/clutter/glx/clutter-stage-glx.c +++ b/clutter/glx/clutter-stage-glx.c @@ -124,7 +124,7 @@ clutter_stage_glx_realize (ClutterActor *actor) 0 }; - if (stage_x11->xvisinfo && stage_x11->is_foreign_xwin == 0) + if (stage_x11->xvisinfo) XFree (stage_x11->xvisinfo); if (stage_x11->xvisinfo == None)