/* "write" request on "raw" special file. Generic destructor.  */
static void line6_destruct(struct usb_interface *interface)
/* "write" request on "raw" special file. Generic destructor.  */
static void line6_destruct(struct usb_interface *interface)
{
	struct usb_line6 *line6;
	if (interface == NULL)
		return;
	line6 = usb_get_intfdata(interface);
	if (line6 == NULL)
		return;
	kfree(line6->buffer_message);
	kfree(line6->buffer_listen);
	usb_free_urb(line6->urb_listen);
	usb_set_intfdata(interface, NULL);
	kfree(line6);
}