swr: dereference cbuf/zbuf/views on context destroy
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 18 Apr 2016 20:09:17 +0000 (15:09 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 18 Apr 2016 20:52:26 +0000 (15:52 -0500)
commit3227c10270f8b7e8bb66bb7d50531fec8be75adb
tree93ac42649f8fe7c1bf52616b16cf36eab84c73b5
parent77a9107bf299faa738737ed105c1b5e5ac06d1ca
swr: dereference cbuf/zbuf/views on context destroy

Fixes resource memory leaks.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/swr/swr_context.cpp