Fix Coverity issues 58/196758/1
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 28 Mar 2018 02:17:00 +0000 (11:17 +0900)
committerMoonhee Choi <mh0310.choi@samsung.com>
Fri, 4 Jan 2019 04:04:04 +0000 (13:04 +0900)
commit4c6443759f21f09346951b4561675292351557d0
treeaefd98fce19d7b0cb0079e547cd55164f8e4e832
parentd7ca90ac78eba7dbfda2cd758d445c8ed9f0239c
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>
adaptors/ecore/wayland/clipboard-impl-ecore-wl.cpp
adaptors/tizen/tilt-sensor-impl-tizen.cpp