_free_sticker_data(handle);
if (gdbus_connection) {
- ret = sticker_dbus_shutdown(gdbus_connection, &server_watcher_id, &server_monitor_id, &monitor_id, STICKER_CLIENT_LIB_PROVIDER);
- if (ret != STICKER_ERROR_NONE)
- LOGE("Failed to finalize dbus : %d", ret);
+ int ret_err = sticker_dbus_shutdown(gdbus_connection, &server_watcher_id, &server_monitor_id, &monitor_id, STICKER_CLIENT_LIB_PROVIDER);
+ if (ret_err != STICKER_ERROR_NONE)
+ LOGE("Failed to finalize dbus : %d", ret_err);
g_object_unref(gdbus_connection);
}