i915/sync: Return early when calloc fails
authorChad Versace <chad.versace@intel.com>
Wed, 6 May 2015 02:05:31 +0000 (19:05 -0700)
committerChad Versace <chad.versace@intel.com>
Thu, 7 May 2015 15:11:21 +0000 (08:11 -0700)
commit19b5a82fdafd583317265e86fd13c23e52839131
tree83981a9383fc31bf90171f3f02f95b2715fecf10
parent00f3c7baeb3e8f00ce7bc8a1384ef545e648f1d9
i915/sync: Return early when calloc fails

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