i2c: fixed that allocated memory is released when an error occurs. 18/154518/1
authorSegwon <segwon.han@samsung.com>
Tue, 10 Oct 2017 10:38:42 +0000 (19:38 +0900)
committerSegwon <segwon.han@samsung.com>
Tue, 10 Oct 2017 10:38:42 +0000 (19:38 +0900)
commita13900befb56e3a5c4f93b27baec64a55bf772b9
tree8f9e40194209125ebe1d082eb45ba2e27bcef68c
parenta1c02037ee01da14d9754baef670e9422c105e0a
i2c: fixed that allocated memory is released when an error occurs.

Change-Id: Ib2c6589ad52b3752297bf6579527b574dba3b3d6
Signed-off-by: Segwon <segwon.han@samsung.com>
src/daemon/peripheral_bus_i2c.c