i965/sync: Return NULL when calloc fails
authorChad Versace <chad.versace@intel.com>
Wed, 6 May 2015 02:05:30 +0000 (19:05 -0700)
committerChad Versace <chad.versace@intel.com>
Thu, 7 May 2015 15:11:21 +0000 (08:11 -0700)
commit00f3c7baeb3e8f00ce7bc8a1384ef545e648f1d9
tree4d4256f30241ed926cbd4e7fe20c7663a2527123
parent9cf9a2dec5b3fe3aad878b8ab99d50fbd51e1b9c
i965/sync: Return NULL when calloc fails

Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_syncobj.c