exa: fix double free of scanout bo
authorRob Clark <rob@ti.com>
Fri, 20 Apr 2012 22:36:38 +0000 (17:36 -0500)
committerRob Clark <rob@ti.com>
Sat, 21 Apr 2012 00:18:09 +0000 (19:18 -0500)
commit1272ef49f75295d462799910007cb07367c1d35a
treed668ed159f6ee825941c96a59c28e68bb0be1acb
parent834f6469c312b0e46921aad563f137ca5b2f1b14
exa: fix double free of scanout bo

When the screen is torn down and the screen pixmap destroyed, we
should not delete the bo, as it is freed elsewhere.

TODO: add refcnting in libdrm_omap so this can be handled in a
cleaner way.
src/omap_exa.c