gallium/util: avoid unreferencing random memory on buffer alloc failure
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 26 Sep 2015 17:45:28 +0000 (13:45 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 28 Sep 2015 06:38:58 +0000 (02:38 -0400)
commit5bff12ecb403356d7848dc02696c618b68a324f1
treef1f975403e0796a7f2cf91c306a723afd6c42047
parent6dd059fefe2c8c8a5337a646ab8772ebad8f811b
gallium/util: avoid unreferencing random memory on buffer alloc failure

Found by Coverity

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Albert Freeman <albertwdfreeman@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_blitter.c