diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2015-01-09 06:18:46 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:02:34 -0400 |
commit | 91713341013de0ae6f83b7296fa476fa9c8bf7bf (patch) | |
tree | 1ee623fd7f0327cf8b68c62d9195b040a8ae47b7 /include/trace/events/gk20a.h | |
parent | 8b887af59a90d86fcf0f242e826131144eb6a770 (diff) |
gpu: nvgpu: fix struct file memleak in alloc_as
Free also newly allocated struct file in error conditions with fput, and
pair it by not trying to release the resulting null as_share on release.
Bug 1597056
Change-Id: Ifad5c3a829b2c459ed6a738ecdc1ac2ac7e1678a
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/671527
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/trace/events/gk20a.h')
0 files changed, 0 insertions, 0 deletions