draw: Add a null check for draw.
authorVinson Lee <vlee@freedesktop.org>
Sat, 28 Sep 2013 04:46:33 +0000 (21:46 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 1 Oct 2013 04:46:42 +0000 (21:46 -0700)
commit505a6de7fc5e281d0faf7950cc97fbe88cd9bbf4
tree1e66c39101c55d41afb3b345c156e259b32f4b03
parent9b388c66fc8e002f442eafc669ca31d99a807b5a
draw: Add a null check for draw.

There is an earlier null check for draw so draw could be null here as
well.

Fixes "Dereference after null check" defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_unfilled.c