nvc0: fix crash when nv50_miptree_from_handle fails
authorJulien Isorce <j.isorce@samsung.com>
Tue, 20 Oct 2015 16:34:23 +0000 (17:34 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 28 Oct 2015 17:26:20 +0000 (18:26 +0100)
commit3bbb8715acd1cb85ea7aa7763c06cd12347a1a9a
tree76149cb39107c43d350010ae4b3f1298e6b8abdf
parent2bf224b3f96f926ba442d2b33a6f50d33e31cee0
nvc0: fix crash when nv50_miptree_from_handle fails

Signed-off-by: Julien Isorce <j.isorce@samsung.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nvc0/nvc0_resource.c