Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181569
b: refs/heads/master
c: c71fd16
h: refs/heads/master
i:
  181567: 989827e
v: v3
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent e48ab05 commit 18a7981
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 60433e2ab8391d1884ddef2269bd19ecdaaa2d72
refs/heads/master: c71fd169a13d34f26997b27183b510e0b7fc2623
5 changes: 3 additions & 2 deletions trunk/drivers/media/video/cx18/cx18-alsa-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static int __init snd_cx18_card_set_names(struct snd_cx18_card *cxsc)
static int __init snd_cx18_init(struct v4l2_device *v4l2_dev)
{
struct cx18 *cx = to_cx18(v4l2_dev);
struct snd_card *sc;
struct snd_card *sc = NULL;
struct snd_cx18_card *cxsc;
int ret;

Expand Down Expand Up @@ -189,7 +189,8 @@ static int __init snd_cx18_init(struct v4l2_device *v4l2_dev)
return 0;

err_exit_free:
snd_card_free(sc);
if (sc != NULL)
snd_card_free(sc);
err_exit:
return ret;
}
Expand Down

0 comments on commit 18a7981

Please sign in to comment.