diff --git a/[refs] b/[refs] index 03c49b3af66d..4b4c2b97ca9f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 93ad03d60b5b18897030038234aa2ebae8234748 +refs/heads/master: 7b3a766c7b9bce07875098cb68642df2b8f0b152 diff --git a/trunk/drivers/usb/core/endpoint.c b/trunk/drivers/usb/core/endpoint.c index 3788e738e265..9da250563027 100644 --- a/trunk/drivers/usb/core/endpoint.c +++ b/trunk/drivers/usb/core/endpoint.c @@ -202,7 +202,7 @@ int usb_create_ep_devs(struct device *parent, return retval; error_register: - kfree(ep_dev); + put_device(&ep_dev->dev); exit: return retval; }