Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353269
b: refs/heads/master
c: 549e829
h: refs/heads/master
i:
  353267: 8316cd5
v: v3
  • Loading branch information
Takashi Iwai committed Jan 15, 2013
1 parent cab200f commit 7b197cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: 425a7880e804f6147b520aecee522e4172c98e83
refs/heads/master: 549e8292a1e7712d401cc8b8df88286cdfff9f08
10 changes: 4 additions & 6 deletions trunk/sound/pci/hda/patch_ca0132.c
Original file line number Diff line number Diff line change
Expand Up @@ -2416,15 +2416,13 @@ static int dspxfr_image(struct hda_codec *codec,
return -EINVAL;

dma_engine = kzalloc(sizeof(*dma_engine), GFP_KERNEL);
if (!dma_engine) {
status = -ENOMEM;
goto exit;
}
if (!dma_engine)
return -ENOMEM;

dma_engine->dmab = kzalloc(sizeof(*dma_engine->dmab), GFP_KERNEL);
if (!dma_engine->dmab) {
status = -ENOMEM;
goto exit;
kfree(dma_engine);
return -ENOMEM;
}

dma_engine->codec = codec;
Expand Down

0 comments on commit 7b197cc

Please sign in to comment.