diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-12-20 18:15:44 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-04 04:44:25 -0500 |
commit | 685b4d351ed413b19261be3e884bf182bf1a0e7f (patch) | |
tree | 3ff46ddb937a22b7258bf95da6bb15fa41b75d97 /drivers/gpu/nvgpu/lpwr/rppg.h | |
parent | bffa372aa0d5aae20a10bf654420b319c14c22a0 (diff) |
gpu: nvgpu: Fix memory leak in arb install
nvgpu_clk_arb_install_fd() leaks dev if it cannot create an fd,
and it leaks both dev and fd if it fails to create a file.
Change-Id: I65c03401dba44d88be543d3aec2fa3fcd2fb0dcc
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1279225
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/lpwr/rppg.h')
0 files changed, 0 insertions, 0 deletions