freedreno/a3xx+a4xx: fix potential null ptr deref
authorRob Clark <robclark@freedesktop.org>
Thu, 2 Jun 2016 15:42:25 +0000 (11:42 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 2 Jun 2016 19:44:07 +0000 (15:44 -0400)
commit9b854ce53cb0550311d2252523fe088c281074d8
tree0ad80b39a37c6971adee4343565a8fa3ea28eca5
parent27a97097e1a6d8f0a29393b2fcc6fdb0a500bf92
freedreno/a3xx+a4xx: fix potential null ptr deref

Coverity spotted the a3xx case (not sure why not the a4xx).

CID 1362452

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c
src/gallium/drivers/freedreno/a4xx/fd4_gmem.c