svga: use pipe_sampler_view_release() to avoid segfault
authorBrian Paul <brianp@vmware.com>
Thu, 16 Feb 2012 19:23:16 +0000 (12:23 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 23 Feb 2012 14:49:09 +0000 (07:49 -0700)
commit0fffaa512cbd347af0b81571753d4da6dd58a81e
tree06c789c3d39547422a895ae3a33512c8b8f9c823
parentbe05388ce983face72ca17241f0f2e154c11f435
svga: use pipe_sampler_view_release() to avoid segfault

This fixes another case of faulting when freeing a pipe_sampler_view
that belongs to a previously destroyed context.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_pipe_sampler.c