freedreno/msm/: check memory allocation in handle_stateobj_relocs
after calling malloc() , be sure to determine whether the allocating for memory space is successful
Signed-off-by: ganjing ganjing@uniontech.com
after calling malloc() , be sure to determine whether the allocating for memory space is successful
Signed-off-by: ganjing ganjing@uniontech.com