st/glx: re-order destruction of buffers, visuals
authorBrian Paul <brianp@vmware.com>
Wed, 1 Sep 2010 18:39:04 +0000 (12:39 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 1 Sep 2010 18:40:31 +0000 (12:40 -0600)
commit6ac66192a66b4370fd5601d876f5bdc84a4841b2
treef8834f255048ad12fea26e5ab70caf44ed92ad34
parentdd5ef33e3c2ac7886ca71344e41201d0be2062c0
st/glx: re-order destruction of buffers, visuals

Free the buffers before the visuals.  Fixes valgrind warning
reported in fd.o bug 29919.
src/gallium/state_trackers/glx/xlib/glx_api.c