Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307961
b: refs/heads/master
c: 1c02f00
h: refs/heads/master
i:
  307959: b4a0b30
v: v3
  • Loading branch information
Philippe De Swert authored and Chris Ball committed May 10, 2012
1 parent 3e9f0af commit e28c9fd
Show file tree
Hide file tree
Showing 2 changed files with 3 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: fa5501890d8974301042e0202d342a6cbe8609f4
refs/heads/master: 1c02f000e78347aa51822feb189fcb0d90273958
3 changes: 2 additions & 1 deletion trunk/drivers/mmc/card/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ static int mmc_blk_ioctl_cmd(struct block_device *bdev,
md = mmc_blk_get(bdev->bd_disk);
if (!md) {
err = -EINVAL;
goto cmd_done;
goto cmd_err;
}

card = md->queue.card;
Expand Down Expand Up @@ -483,6 +483,7 @@ static int mmc_blk_ioctl_cmd(struct block_device *bdev,

cmd_done:
mmc_blk_put(md);
cmd_err:
kfree(idata->buf);
kfree(idata);
return err;
Expand Down

0 comments on commit e28c9fd

Please sign in to comment.