anv/batch_chain: free pointers for error cases
authorMark Janes <mark.a.janes@intel.com>
Wed, 18 May 2016 21:28:38 +0000 (14:28 -0700)
committerMark Janes <mark.a.janes@intel.com>
Wed, 18 May 2016 22:14:22 +0000 (15:14 -0700)
commit4dfa89e33c810bac02e2678814621d2f3868d58b
tree8ed581bb5057a064ed3160cf63354e2013ba064c
parentf21b7d1e5c21b749ae7c19d3dc80dc4e14e4bb77
anv/batch_chain: free pointers for error cases

Trivial fix to improperly handled cleanup during
VK_ERROR_OUT_OF_HOST_MEMORY.

Identified by Coverity: CID 1358908 and 1358909
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_batch_chain.c