qseecom: remove entry from qseecom_registered_app_list

In an error handling case, the QSEECOM_IOCTL_LOAD_APP_REQ ioctl
freed the entry for new TA, but didn't removed it from
qseecom_registered_app_list. Make change to remove it.

FPIIM-197: Elevation of privilege vulnerability in Qualcomm Secure Execution Environment Communicator driver (device specific) CVE-2016-8480 A-31804432

Change-Id: Id681fbf3c923027d3db875d506cbe3f971919a8d
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Signed-off-by: Mallikarjuna Reddy Amireddy <mamire@codeaurora.org>
(cherry picked from commit 8fa66997c36d235949822225355d831e01f440e8)
1 file changed