xlib/softpipe: more buffer free fixes
authorBrian Paul <brianp@vmware.com>
Fri, 22 Jan 2010 20:07:04 +0000 (13:07 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Jan 2010 20:07:07 +0000 (13:07 -0700)
commitefde2df114c2c15212198cb196b50cd29bd75f70
treeeb61da285e262fef3a3fa376047d1a5c6baf81c3
parent64871747bb7b611ffe429fbf1724bd98ee25dd84
xlib/softpipe: more buffer free fixes

The previous memory leak fix didn't always work properly.
Now check the xm_buffer::smh field (now documented!) to
see if the buffer points to shared memory.
src/gallium/winsys/xlib/xlib_softpipe.c