Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161515
b: refs/heads/master
c: b807d17
h: refs/heads/master
i:
  161513: 7afd30c
  161511: bf380f8
v: v3
  • Loading branch information
Julia Lawall authored and Mauro Carvalho Chehab committed Sep 12, 2009
1 parent aef289a commit 6abc2c3
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: 46058128ff57db466ec132cb7de76cf9ecbd3dd3
refs/heads/master: b807d17555dcc4ea28abadd4d647ba0c4d822cdb
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/gspca/m5602/m5602_s5k83a.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,10 @@ int s5k83a_probe(struct sd *sd)

sens_priv->settings =
kmalloc(sizeof(s32)*ARRAY_SIZE(s5k83a_ctrls), GFP_KERNEL);
if (!sens_priv->settings)
if (!sens_priv->settings) {
kfree(sens_priv);
return -ENOMEM;
}

sd->gspca_dev.cam.cam_mode = s5k83a_modes;
sd->gspca_dev.cam.nmodes = ARRAY_SIZE(s5k83a_modes);
Expand Down

0 comments on commit 6abc2c3

Please sign in to comment.