Re: [PATCH 2/3] USB: Gadget: Zero: Free resources in config unbind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 June 2011 01:35, Jassi Brar <jaswinder.singh@xxxxxxxxxx> wrote:

> +static void __exit loopback_unbind_config(struct usb_configuration *c)
> +{
> +       struct f_loopback *loop = c->data;
> +
> +       kfree(loop)

Sorry, I posted penultimate version of the patch. Just a semicolon is
missing here.

> +       c->data = NULL;
> +}
> +
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux