softpipe: avoid leaking local_mem on machines alloc failure
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 1 May 2016 02:31:26 +0000 (22:31 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 1 May 2016 15:19:08 +0000 (11:19 -0400)
commit3950aa47df26ad4cbfa9ca02dffa8ebd5a9b432a
treedb948f156f7541e7f19adba7aa43004293d82bee
parentad545d179bf56312d9d655a0a672af3732e43365
softpipe: avoid leaking local_mem on machines alloc failure

Spotted by Coverity

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Vinson Lee <vlee@freedesktop.org>
src/gallium/drivers/softpipe/sp_compute.c