Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193155
b: refs/heads/master
c: 16ee9bb
h: refs/heads/master
i:
  193153: d1fb470
  193151: ad505e3
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent d3653b4 commit be7f14e
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: a7b39036cfd1d3f868a6745e40bc99b2a8650bad
refs/heads/master: 16ee9bb100340f9f775ab334acb645f54642f312
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/mem2mem_testdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -871,8 +871,10 @@ static int m2mtest_open(struct file *file)

ctx->m2m_ctx = v4l2_m2m_ctx_init(ctx, dev->m2m_dev, queue_init);
if (IS_ERR(ctx->m2m_ctx)) {
int ret = PTR_ERR(ctx->m2m_ctx);

kfree(ctx);
return PTR_ERR(ctx->m2m_ctx);
return ret;
}

atomic_inc(&dev->num_inst);
Expand Down

0 comments on commit be7f14e

Please sign in to comment.