i965: Add extra null check in intel_bufferobj_alloc()
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Fri, 1 Aug 2014 11:38:17 +0000 (14:38 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 23 Sep 2014 07:25:02 +0000 (10:25 +0300)
commitba089cfa823e991ea53f62d61d087084a8e7381e
tree1de31db1c1525297be995f7818409f08d3892750
parent51aa22148099f3c7e7e63b77523af629a535fa43
i965: Add extra null check in intel_bufferobj_alloc()

Check calloc returned requested memory.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/intel_buffer_objects.c