Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144341
b: refs/heads/master
c: 5b83cfa
h: refs/heads/master
i:
  144339: 2267ea1
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Apr 29, 2009
1 parent 3e92f95 commit 8e8335d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3964b58a25fdca066011600bf58b38d00e9ae28d
refs/heads/master: 5b83cfa98569663b6fa6cda85a1f2fd371a082c7
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/saa5249.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@ static int saa5249_probe(struct i2c_client *client,
/* Now create a video4linux device */
t->vdev = video_device_alloc();
if (t->vdev == NULL) {
kfree(t);
kfree(client);
return -ENOMEM;
}
Expand All @@ -617,9 +618,8 @@ static int saa5249_probe(struct i2c_client *client,
/* Register it */
err = video_register_device(t->vdev, VFL_TYPE_VTX, -1);
if (err < 0) {
kfree(t);
video_device_release(t->vdev);
t->vdev = NULL;
kfree(t);
return err;
}
return 0;
Expand Down

0 comments on commit 8e8335d

Please sign in to comment.