g_variant_unref(data->data);
g_object_unref(data->invocation);
g_object_unref(data->object);
+
+ g_free(data);
}
static gboolean se_handle_check_transaction_permission(
net_nfc_server_se_convert_to_binary((uint8_t *)node->data, strlen((char *)node->data), &cmd, &size);
+ net_nfc_util_free_data(command);
+
command = net_nfc_util_create_data(size+7);
command->buffer[0] = (unsigned char)0x80;
command->buffer[1] = (unsigned char)0xF0;
//remove default card
net_nfc_util_clear_data(command);
net_nfc_util_clear_data(response);
+
+ net_nfc_util_free_data(command);
+
command = net_nfc_util_create_data(size+5);
command->buffer[0] = (unsigned char)0x80;
command->buffer[1] = (unsigned char)0xF0;
DEBUG_ERR_MSG("failed to net_nfc_server_se_open_ese()");
}
+ net_nfc_util_free_data(command);
+
if (cmd != NULL)
g_free(cmd);
}