halapi: Fix unlock issue when failed to parse hal-api.json 99/254699/1 accepted/tizen/unified/20210309.140641 submit/tizen/20210308.095802
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 8 Mar 2021 09:44:47 +0000 (18:44 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 8 Mar 2021 09:44:47 +0000 (18:44 +0900)
commit7827e46be2462a45b7645e89654acd6e541ddf61
treee88b5ec353ad325715583e7c97c5d4f48daffddd
parent21e5da8a27efb24104cc3a5abc29eac979e61e8e
halapi: Fix unlock issue when failed to parse hal-api.json

There is deadlock issue without unlocking the mutex
when error happen. So that fix the unlock issue.

Change-Id: I4581202808f9b6f9b8b36c452663be1e59c4e7af
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/hal-api-common.c