access: do not count initted if elm_modapi_init() is fail 75/104075/2
authorJonghee Choi <joi.choi@samsung.com>
Thu, 8 Dec 2016 04:28:39 +0000 (13:28 +0900)
committerHermet Park <chuneon.park@samsung.com>
Tue, 13 Dec 2016 00:28:24 +0000 (16:28 -0800)
commitd512f81889ab69baa57cee1271148af6daf5e0e1
tree67c44666bad4e6d907bf935ad09c7bf5bb4038e7
parentdb93692be709e28d2b60886ab43c24ec6b893d58
access: do not count initted if elm_modapi_init() is fail

Summary:
When _access_init was called, initted will be increased always even though failed to initialize.
This patch will fix this problem.

Signed-off-by: Jonghee Choi <joi.choi@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: joi.choi, jpeg

Differential Revision: https://phab.enlightenment.org/D4466

Change-Id: I4e36a24cbe4a42cb5e491681d3f81807bb74490e
src/lib/elm_access.c