Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63568
b: refs/heads/master
c: de1a7b0
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Jiri Kosina committed Aug 2, 2007
1 parent 7b49e2c commit a50f036
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04a9b7ffceff4337d9e63476b5c71e9b79249969
refs/heads/master: de1a7b03282310d143cb0add74e909daffedda01
3 changes: 2 additions & 1 deletion trunk/drivers/hid/usbhid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf)
hid->quirks = quirks;

if (!(usbhid = kzalloc(sizeof(struct usbhid_device), GFP_KERNEL)))
goto fail;
goto fail_no_usbhid;

hid->driver_data = usbhid;
usbhid->hid = hid;
Expand Down Expand Up @@ -877,6 +877,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf)
usb_free_urb(usbhid->urbin);
usb_free_urb(usbhid->urbout);
usb_free_urb(usbhid->urbctrl);
fail_no_usbhid:
hid_free_buffers(dev, hid);
hid_free_device(hid);

Expand Down

0 comments on commit a50f036

Please sign in to comment.