On 29/05/15 17:24, Ian Campbell wrote:
> --- a/drivers/net/xen-netback/xenbus.c
> +++ b/drivers/net/xen-netback/xenbus.c
> @@ -235,6 +235,7 @@ static int netback_remove(struct xenbus_device *dev)
>               kobject_uevent(&dev->dev.kobj, KOBJ_OFFLINE);
>               xen_unregister_watchers(be->vif);
>               xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status");
> +             kfree(be->vif->hotplug_script);

Should this kfree() be in xenvif_free()?

>               xenvif_free(be->vif);
>               be->vif = NULL;
>       }

David

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to