u_blitter: Move a pointer dereference after null check.
authorVinson Lee <vlee@freedesktop.org>
Fri, 3 Aug 2012 06:28:10 +0000 (23:28 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 4 Aug 2012 05:27:13 +0000 (22:27 -0700)
commit9d36b3abfd557d8eb6a1a571d387dd53ef64068b
tree1498a78f436a4b41308c7559f69baa6250c0d57e
parentfb85558ab1e40698bfb1aedaaf32b182560f2479
u_blitter: Move a pointer dereference after null check.

Fixes dereference before null check defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/auxiliary/util/u_blitter.c