tee-supplicant: fix use of mem after it's freed
tee-supplicant: fix use of mem after it's freed

Reviewed-by: Jerome Forissier <ced78d268b4c9a0a20a59a9feeebd2ad90da03d3@linaro.org>
Signed-off-by: Igor Opaniuk <ca782e5848fbe7ab0a250faa8ae33b643dd89a09@linaro.org>

prime-zeng/optee_client