Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261203
b: refs/heads/master
c: f54ba7f
h: refs/heads/master
i:
  261201: b6c9328
  261199: 2eb86cb
v: v3
  • Loading branch information
Alexey Khoroshilov authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 0eef251 commit d30187e
Show file tree
Hide file tree
Showing 2 changed files with 4 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: fabc6b85ca1d364f4e3fdcf80f80b393a508e771
refs/heads/master: f54ba7f199d63cea08b8cc7114cb6c5cd9a042ab
4 changes: 3 additions & 1 deletion trunk/drivers/media/radio/si470x/radio-si470x-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ static int si470x_usb_driver_probe(struct usb_interface *intf,
radio->videodev = video_device_alloc();
if (!radio->videodev) {
retval = -ENOMEM;
goto err_intbuffer;
goto err_urb;
}
memcpy(radio->videodev, &si470x_viddev_template,
sizeof(si470x_viddev_template));
Expand Down Expand Up @@ -790,6 +790,8 @@ static int si470x_usb_driver_probe(struct usb_interface *intf,
kfree(radio->buffer);
err_video:
video_device_release(radio->videodev);
err_urb:
usb_free_urb(radio->int_in_urb);
err_intbuffer:
kfree(radio->int_in_buffer);
err_radio:
Expand Down

0 comments on commit d30187e

Please sign in to comment.