st/dri: add null-pointer check, remove duplicated local variable
authorMarek Olšák <maraeo@gmail.com>
Mon, 21 Jan 2013 14:48:55 +0000 (15:48 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 24 Jan 2013 17:22:14 +0000 (18:22 +0100)
commitfffe3e090878175269af8672d20c14a0ccab78a9
treee91ab971c4ac55297ce59cf13a4d97ee1bf20d5f
parent0261b4ecdb80973b3a00cbe6a9a77c6085ef3dff
st/dri: add null-pointer check, remove duplicated local variable

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/state_trackers/dri/common/dri_drawable.c