video: tegra: nvmap: fix possible use after free
authorGagan Grover <ggrover@nvidia.com>
Tue, 22 Nov 2016 09:31:11 +0000 (14:31 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 25 Nov 2016 10:11:46 +0000 (02:11 -0800)
commitb1647da33cff0c498ca8439a722ea1962ecf6901
tree9e10705ad7451cb00a5edc6d558c50d6f8457ffd
parent389ed7af6df50b8e35ede8fff5f004425751c54e
video: tegra: nvmap: fix possible use after free

Fix possible use after free issue.

Bug 1814555

Change-Id: I826aa34f61d43fda5419a528697ce84ba2ce1eae
Reviewed-on: http://git-master/r/1221643
Signed-off-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-on: http://git-master/r/1257999
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
drivers/video/tegra/nvmap/nvmap_ioctl.c