Fixing an error case memory leak in internal api
Fixing an error case memory leak in internal api

Change-Id: I3e787c1deb241229929b7d4c339fe73fea369257
Signed-off-by: TanelDettenborn <b78e06a93b55ca1de0e9b602be506ea7b7368e0f@gmail.com>

Open-TEE/tee-engine