[FOSS_TLK]security: tlk_driver: Free session when open fails
authorAaron Gamble <jgamble@nvidia.com>
Wed, 4 Feb 2015 01:07:08 +0000 (17:07 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 18 Jun 2015 12:11:34 +0000 (05:11 -0700)
commit6240950edd716fde3b995f56bd4366136093f61d
tree9d376ac30a08e62306c35d7c884bef864a70f871
parentaff003952866a97c4e9034aa745b08f4a9f2ebd9
[FOSS_TLK]security: tlk_driver: Free session when open fails

kfree(session) when te_open_session fails.

Coverity id : 28280

Change-Id: Ib6d1a88774c38053c9bb94e76c78b30460bd1204
Signed-off-by: Aaron Gamble <jgamble@nvidia.com>
Reviewed-on: http://git-master/r/755010
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
security/tlk_driver/ote_comms.c