{
struct msghdr msg;
struct iovec iov;
+#ifndef TIZEN_FEATURE_BLUEZ_MODIFY
struct notify_client *client = user_data;
+#else
+ struct async_dbus_op *op = user_data;
+ struct notify_client *client = op->data;
+#endif
struct characteristic *chrc = client->chrc;
int err;
dbus_message_unref(chrc->notify_io->msg);
g_free(chrc->notify_io);
chrc->notify_io = NULL;
+
+ async_dbus_op_free(op);
#endif
return btd_error_failed(msg, "Failed to subscribe");
}
chrc->notify_io->data = client;
chrc->notify_io->msg = dbus_message_ref(msg);
chrc->notify_io->destroy = notify_io_destroy;
+
+ async_dbus_op_free(op);
#endif
return NULL;