st/xlib: Don't destroy screen on XCloseDisplay()
authorGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 4 Mar 2016 19:26:00 +0000 (12:26 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 5 Mar 2016 01:14:46 +0000 (18:14 -0700)
commitfeb71117aebc0932a96b548b4c402b010a008b2d
tree92c44a5901d46d4d99d3e438268029af2c39b801
parent1f862e923cba1d5cd54a707f70f0be113635e855
st/xlib: Don't destroy screen on XCloseDisplay()

screen may still be used by other resources that are not yet freed.
To correctly fix this there will be a need to account for resources
differently, but this quick fix is not any worse than the original
code that leaked screens anyway.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/glx/xlib/xm_api.c