Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45083
b: refs/heads/master
c: d82d418
h: refs/heads/master
i:
  45081: a9d1707
  45079: cc3576f
v: v3
  • Loading branch information
Amit Choudhary authored and Mauro Carvalho Chehab committed Dec 27, 2006
1 parent da11ddf commit ff420b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb2c7b4927c8f376b7ba9557978d8c59ed472664
refs/heads/master: d82d418a3af4d7d07151f9d45ca20f2ce61289a0
4 changes: 4 additions & 0 deletions trunk/drivers/media/video/cpia2/cpia2_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,10 @@ static int submit_urbs(struct camera_data *cam)
cam->sbuf[i].data =
kmalloc(FRAMES_PER_DESC * FRAME_SIZE_PER_DESC, GFP_KERNEL);
if (!cam->sbuf[i].data) {
while (--i >= 0) {
kfree(cam->sbuf[i].data);
cam->sbuf[i].data = NULL;
}
return -ENOMEM;
}
}
Expand Down

0 comments on commit ff420b2

Please sign in to comment.