st/xorg: Only unreference texture on pixmap destruction, don't destroy it.
authorMichel Dänzer <daenzer@vmware.com>
Tue, 15 Sep 2009 16:31:07 +0000 (18:31 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Tue, 15 Sep 2009 16:31:07 +0000 (18:31 +0200)
commit0469465c31371177d85ab7af103359500323c1f8
treee10f9918ac8382d2d725e1b81f5aae177c29301f
parent45cf2696ca2ad5f2ef77a3c35ee1d0ab1709b1da
st/xorg: Only unreference texture on pixmap destruction, don't destroy it.

Fixes memory corruption if e.g. the driver still has references to the texture.
src/gallium/state_trackers/xorg/xorg_exa.c