Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
Name: app-core
Summary: Application basic
Version: 1.2
-Release: 45
+Release: 46
Group: Application Framework
License: Apache License, Version 2.0
Source0: app-core-%{version}.tar.gz
r = sf_start(handle, 0);
if (r < 0) {
_ERR("sf_start failed: %d", r);
- sf_unregister_event(handle, ACCELEROMETER_EVENT_ROTATION_CHECK);
+ r = sf_unregister_event(handle, ACCELEROMETER_EVENT_ROTATION_CHECK);
+ if (r < 0) {
+ _ERR("sf_unregister_event failed: %d", r);
+ }
rot.callback = NULL;
rot.cbdata = NULL;
rot.cb_set = 0;