xorg: fix exa finish access

The exa core will already set the pointer to NULL prior calling
the callback function. So don't bail out in the callback if it's
already NULL.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
Jerome Glisse
2013-02-08 18:57:42 -05:00
parent 1fe007399c
commit 3310acdf47
+1 -1
View File
@@ -318,7 +318,7 @@ ExaFinishAccess(PixmapPtr pPix, int index)
if (!priv)
return;
if (!priv->map_transfer || pPix->devPrivate.ptr == NULL)
if (!priv->map_transfer)
return;
exa_debug_printf("ExaFinishAccess %d\n", index);