st/va: Check NULL pointer
authorGurkirpal Singh <gurkirpal204@gmail.com>
Sun, 26 Jun 2016 07:02:25 +0000 (12:32 +0530)
committerJulien Isorce <j.isorce@samsung.com>
Mon, 27 Jun 2016 07:09:08 +0000 (08:09 +0100)
commit46dba701d81199e6450dc50ef3f0ff476dbfb17f
tree2c39f50d8138c6e167a6527137dedfefb2884778
parentd20b89e9281d6d1ccf56a4eb743dc783fce2fc51
st/va: Check NULL pointer

Call to handle_table_get in vlVaDestroySurfaces can
return NULL on failure.

CID: 1243522

Signed-off-by: Gurkirpal Singh <gurkirpal204@gmail.com>
Reviewed-by: Julien Isorce <j.isorce@samsung.com>
src/gallium/state_trackers/va/surface.c