diff options
author | Vijayakumar <vsubbu@nvidia.com> | 2017-01-05 05:50:51 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-05 13:38:45 -0500 |
commit | 4099785e2d60377459845b8fa886ab6be1a1d8e4 (patch) | |
tree | 600523620fcb2e80df04d1d684fcd7a1c8c8eb28 /drivers/gpu/nvgpu/gk20a/gk20a_allocator_lockless.c | |
parent | 18a5111380343690148122434c8d3e1b9cfe48a5 (diff) |
gpu: nvgpu: free boardobj if construct hits an err
During construct of some VFE/CLK boardobjs, some data is
filled after a boardobj allocation is done.
Free up boardobj memory if an error is encountered in the data
filling.
Coverity ID 490171
Coverity ID 490172
Bug 200192125
Change-Id: I20621f7f9f9e379b8dced4905cd417c2ffa905b0
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/1280700
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_allocator_lockless.c')
0 files changed, 0 insertions, 0 deletions