nvc0: avoid null deref of screen when collecting stats
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 6 Sep 2014 15:05:20 +0000 (11:05 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 9 Sep 2014 00:06:11 +0000 (20:06 -0400)
commit564e3050941dbf6acdb49f974dd114e2b6a21347
tree1c6d72df8e1c63408b1a2cf29377c2ccf51b62f1
parentc02ac408377f62086cc5d6853f23281bb52dc0b2
nvc0: avoid null deref of screen when collecting stats

Reported by Coverity

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_context.c