Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250214
b: refs/heads/master
c: 451a51b
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent 88ce236 commit c957ced
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: b7101de3fff596b35e45cd9fb7007caa07e97c9a
refs/heads/master: 451a51b218df9a3a93af9fd71a356cc6043df52a
4 changes: 3 additions & 1 deletion trunk/drivers/media/dvb/frontends/dib9000.c
Original file line number Diff line number Diff line change
Expand Up @@ -2255,8 +2255,10 @@ struct dvb_frontend *dib9000_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, c
if (st == NULL)
return NULL;
fe = kzalloc(sizeof(struct dvb_frontend), GFP_KERNEL);
if (fe == NULL)
if (fe == NULL) {
kfree(st);
return NULL;
}

memcpy(&st->chip.d9.cfg, cfg, sizeof(struct dib9000_config));
st->i2c.i2c_adap = i2c_adap;
Expand Down

0 comments on commit c957ced

Please sign in to comment.