Fix Coverity issues 69/174069/3
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 28 Mar 2018 02:17:00 +0000 (11:17 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 30 Mar 2018 02:36:10 +0000 (11:36 +0900)
commitf3cfc6833bd2d866537f938238d4c90004c6f52a
treede13bbdc576cdbfef7d19c15a08bd8678173bb54
parent8590f167cee7e44b8240885a892e321f9f5a7a79
Fix Coverity issues

- sensor_is_supported() has a return value, int type.
  In tilt-sensor-impl-tizen.cpp, there is an omitted return check code
  at 146 line. So, added to check the return value of sensor_is_supported.

- Fixed to memory leak in clipboard-impl-ecore-wl.
  Variable 'reply' is allocated from 'eldbus_proxy_send_and_block()'
  So, added to eldbus_message_unref(reply) for memory free.

Change-Id: I9a389508430d3b209e886f3dc83e7898350b92e0
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali/internal/clipboard/tizen-wayland/clipboard-impl-ecore-wl.cpp
dali/internal/sensor/tizen/tilt-sensor-impl-tizen.cpp