diff options
author | Gwan-gyeong Mun <[email protected]> | 2016-11-30 06:59:15 +0900 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-03-13 21:29:43 -0700 |
commit | 8f22552a4ff40c74c661b5812569c1b1ea388f46 (patch) | |
tree | 6eb8113b37180d4a4be72654bd323b7aba4acbb9 /.gitattributes | |
parent | b8ee70384adc3286d18febba7a92047118cc0f0f (diff) |
anv: Add missing error-checking to anv_CreateDevice (v3)
This patch adds missing error-checking and fixes resource leak in
allocation failure path on anv_CreateDevice()
v2: Fixes from Jason Ekstrand's review
a) Add missing destructors for all of the state pools on allocation
failure path
b) Add missing destructor for batch bo pools on allocation failure path
v3: Fixes from Emil Velikov's review
Add missing destructor for queue and scratch_pool on allocation failure
path
Signed-off-by: Mun Gwan-gyeong <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions