Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186504
b: refs/heads/master
c: ccf972b
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Machek authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent b3b7ea2 commit 2f256fc
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: e79753edf88d858a3783c946c12cc4726f6590f6
refs/heads/master: ccf972bd6bcb35ebd38e0a530c86088e45102aa4
4 changes: 3 additions & 1 deletion trunk/drivers/staging/dream/camera/msm_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -1885,8 +1885,10 @@ static int msm_open_control(struct inode *inode, struct file *filep)
return -ENOMEM;

rc = msm_open_common(inode, filep, 0);
if (rc < 0)
if (rc < 0) {
kfree(ctrl_pmsm);
return rc;
}

ctrl_pmsm->pmsm = filep->private_data;
filep->private_data = ctrl_pmsm;
Expand Down

0 comments on commit 2f256fc

Please sign in to comment.