[PATCH] glx: Pass GLX drawable ID to DRI2CreateDrawable().
Chris Wilson
chris at chris-wilson.co.uk
Thu Jun 28 05:50:05 PDT 2012
On Thu, 28 Jun 2012 13:39:29 +0200, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Otherwise the DRI2Drawable may retain references to the destroyed
> __GLXDRIdrawable, leading to use after free in __glXDRIinvalidateBuffers().
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50019
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Sure enough this makes valgrind happy whilst messing around with
fullscreen GL windows and enabling/disabling kwin effects.
Tested-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the xorg-devel
mailing list