Home
last modified time | relevance | path

Searched hist:d7a893d3c04b8a94d54bb0b44adcd03b196b174b (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtadb.cd7a893d3c04b8a94d54bb0b44adcd03b196b174b Fri Sep 07 12:44:45 UTC 2018 Jens Wiklander <jens.wiklander@linaro.org> core: fix tee_tadb_ta_create() panic

Fixes a panic triggered in tee_tadb_ta_create(). Before this patch
tee_tadb_ta_create() was calling tadb_put() if tee_tadb_open() failed.
This is incorrect as the reference counter hasn't been increased then.
This patch fixes that by only calling tadb_put() once tee_tadb_open()
has succeeded.

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>