Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190688
b: refs/heads/master
c: ab51bec
h: refs/heads/master
v: v3
  • Loading branch information
Murali Karicheri authored and Mauro Carvalho Chehab committed May 6, 2010
1 parent 8256890 commit 19e6d77
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: b704e82a54591d69816b45f4324caf143f1a6fc8
refs/heads/master: ab51bec1f852f6b858a26e745b32a79cd1a67eec
5 changes: 3 additions & 2 deletions trunk/drivers/media/video/davinci/vpfe_capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,7 @@ static __init int vpfe_probe(struct platform_device *pdev)
if (NULL == ccdc_cfg) {
v4l2_err(pdev->dev.driver,
"Memory allocation failed for ccdc_cfg\n");
goto probe_free_dev_mem;
goto probe_free_lock;
}

strncpy(ccdc_cfg->name, vpfe_cfg->ccdc, 32);
Expand Down Expand Up @@ -1982,8 +1982,9 @@ static __init int vpfe_probe(struct platform_device *pdev)
probe_out_release_irq:
free_irq(vpfe_dev->ccdc_irq0, vpfe_dev);
probe_free_ccdc_cfg_mem:
mutex_unlock(&ccdc_lock);
kfree(ccdc_cfg);
probe_free_lock:
mutex_unlock(&ccdc_lock);
probe_free_dev_mem:
kfree(vpfe_dev);
return ret;
Expand Down

0 comments on commit 19e6d77

Please sign in to comment.