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>
(cherry picked from commit 3310acdf47)
This commit is contained in:
Jerome Glisse 2013-02-08 18:57:42 -05:00
parent 0419b7a3a1
commit 18ef6b1265

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);