Fix error handling in peripheral_handle_{dev}_open 10/131410/3
authorHyeongsik Min <hyeongsik.min@samsung.com>
Mon, 29 May 2017 04:42:53 +0000 (13:42 +0900)
committerHyeongsik Min <hyeongsik.min@samsung.com>
Mon, 29 May 2017 10:21:35 +0000 (19:21 +0900)
commitbbd9ecdd494c6421c4f6f38db3a8154b480c81b8
tree99fe65cbc6dea932faaf4fb453de7a0f96880808
parentecbfe4b7e17594f31f92ef5defdb1cc96df94a8e
Fix error handling in peripheral_handle_{dev}_open

This patch fix crash issue accessing invalid handle value after open failure.

Change-Id: I2c81d1d99694e39185f3c75e5f375e964bf8f7c4
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
src/daemon/peripheral_bus.c