softpipe: Free tgsi.image elements on context destruction.
authorJose Fonseca <jfonseca@vmware.com>
Tue, 12 Apr 2016 16:03:52 +0000 (17:03 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 13 Apr 2016 03:21:37 +0000 (13:21 +1000)
commit46bfcd61f5ca81fc7e19f0d74ee9fa70f16e9df7
tree8cc92e385c2e476fa3ce9ce470a85ddec537a175
parent5a3d928e2cd8eeb4776c732cab5c0fce9d593ea2
softpipe: Free tgsi.image elements on context destruction.

Courtesy of address sanitizer.

[airlied: free buffers as well]
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_context.c