Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366731
b: refs/heads/master
c: 8b2c3da
h: refs/heads/master
i:
  366729: c77bdca
  366727: c57e36d
v: v3
  • Loading branch information
Wei Yongjun authored and Mauro Carvalho Chehab committed Mar 23, 2013
1 parent 6e58b06 commit 146b512
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: a3ad56d0aba738298338895b937359d57f40438b
refs/heads/master: 8b2c3da108b08751ac65911e1797ef9a5342c727
9 changes: 4 additions & 5 deletions trunk/drivers/media/usb/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,11 +567,10 @@ static void destroy_urbs(struct gspca_dev *gspca_dev)

gspca_dev->urb[i] = NULL;
usb_kill_urb(urb);
if (urb->transfer_buffer != NULL)
usb_free_coherent(gspca_dev->dev,
urb->transfer_buffer_length,
urb->transfer_buffer,
urb->transfer_dma);
usb_free_coherent(gspca_dev->dev,
urb->transfer_buffer_length,
urb->transfer_buffer,
urb->transfer_dma);
usb_free_urb(urb);
}
}
Expand Down

0 comments on commit 146b512

Please sign in to comment.